TransWikia.com
  1. All Categories
  2. WordPress Development

WordPress Development : Recent Questions and Answers (Page 17)

Find answers to your questions about WordPress Development or help others by answering their WordPress Development questions.

adding existing menu page on new customer user role

I have created new user role 'Host' . now I am trying to show admin menu item ' user' in it . i have googled some code and tried this...

Asked on 11/21/2021 by Neeraj Verma

1 answer

Add a permalink variable onto custom post type URL after post name slug

I have a custom post type mycpt and I'm trying to allow for a variable to be appended onto the end of the URL right after the post name slug,...

Asked on 11/21/2021

2 answer

What's the right way to validate JSON data coming from an AJAX POST request?

I'm building a little plugin with a send button: when clicked, the button calls (from the admin area) a rest api endpoint, passing JSON data through AJAX. Everything works very...

Asked on 11/21/2021 by Life after Guest

0 answer

Access ACF fields within custom preview function?

I'd like to access custom ACF field values from custom_preview() filter?add_filter( 'preview_post_link', 'custom_preview' );function custom_preview() { // how to access ACF field values here ?}...

Asked on 11/21/2021

1 answer

Change the file path on get_template_part via plugin

I'm trying to make a plugin that will change the behavior of a theme. In the theme file I have a get_template_part('libs/templates/user_menu');. I want to make my plugin "force"...

Asked on 11/19/2021 by Crerem

1 answer

How can I change archive.php posts display?

I would like to change archives.php post listing as follows.Whenever clicked on certain link in archives select drop down box, archive page should list posts from May - Dec...

Asked on 11/19/2021 by yjs

1 answer

Change wordpress default upload path to another domain

I have a domain, for example tarikhema.org. I want to change WordPress default upload patch folder to another domain for example dtours.net. How can I do this?...

Asked on 11/19/2021 by Eni Kazemi

1 answer

Woocommerce | I want to the button 'Add to Cart' on the (all) product-page changed by just 'open product' button

Woocommerce | I want to the button 'Add to Cart' on the (all) product-page changed by just 'open product' button. I know people can click on the image or on...

Asked on 11/19/2021 by markm

1 answer

WP_QUERY post_in problem

why when i using this code :$paramss = array('post_in' => array( 760, 761) , 'post_type' => 'product');$wc_querya = new WP_Query($paramss);i get 5 products list and not only product with...

Asked on 11/19/2021

1 answer

Wordpress posts with multiple fields

I am helping my kid create a website on Dinosaurs. I have a PHP hosting available so first though of creating a custom app. But since was primarily about displaying...

Asked on 11/19/2021 by Dchucks

2 answer

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP