## Problem saving Custom Post type showing wp_list_table class inside metabox

Question
Regards, I'm trying to show my Custom Post Type called "Tasks" in the edit screen of another Custom Post Type called "Projects", I show it as a table using the wp_list_table class and then I insert it in a ...
0
5 months 0 Answers 65 views

## Query by more than one menu_order value

Question
I'm trying to write a query to get certain posts based on their menu order value. What I specifically want is to get the two previous posts and the next two posts. So $more_than_one_menu_order_value = "4,5,7,8" or$more_than_one_menu_order_value = array(4,5,6,7) (the ...
0
5 months 0 Answers 65 views

## WP_Query with two post types, but requiring category on only one of those post types

Question
I have a simple WP_Query: $loop = new WP_Query(array( 'post_type' => array('image', 'video'), 'category_name' =>$cat, 'meta_key'=>'total_votes', ...
0
5 months 0 Answers 55 views

Question
I have two custom user meta fields created with ACF. One is quantidade_corretas_dia_4 (Numeric, integer) and another tempo_dia_4 (Numeric, decimal). I am using WP_User_Query to get users ordered by both this values like this: $args ... 0 5 months 0 Answers 66 views ## How to store and receive variables in WP sessions? Question I have a form with some checkboxes and inputboxes selectboxes and it shows what the user wants via an ajax call. The problem is that when the user click on the item and the detail page is shown and then ... 0 5 months 0 Answers 65 views ## In the filter,there display “All categories” bt i want there display” location” Question I used Search & Filter plugin in wp.In the filter,I want to convert "All categories text" to "Location text" 0 5 months 0 Answers 54 views ## User Following System Question I have a custom plugin which allows users to follow each other. The follow and unfollow functionality works by ajax which is fine but there are just a few bugs that need sorting out which I am unsure as to ... 0 5 months 0 Answers 59 views ## How to get all the tags only from taxonomies that contain the currently selected tag? Question I've been trying to find a way to do this, but I don't see this mentioned anywhere or any examples of code coming even close to accomplishing this... so here is what I am trying to do - I have ... 0 5 months 0 Answers 51 views ## How to display only 1 post of many child-categories in the Parent Category page of Woocommerce Question I am trying to display only one product of a child category in the page of parent category. If I use$query->set( 'posts_per_page', '1' ); it shows only only 1 post , which is near to what i want but it ...
0
5 months 0 Answers 62 views

## How to show meta value code HTML after x paragraph

Question
I have a custom field for some posts, that has the HTML code. I want to show this code after x paragraph in the wordpress loop. I tried with the following code, but it doens't works. function prefix_insert_after_para( $ads,$content ) { ...
0
5 months 0 Answers 49 views