Browsing Tag

arguments

Problem with using ‘category__in’ in query_posts and ‘category’ in get_posts as passing arguments

i am trying this with query_posts : $post_category = 12,9 $post_category_array = explode(',', $post_category); query_posts( array( 'post_type' => $post_type, 'orderby' => 'menu_order', 'order' => 'ASC',

How do I execute a WP_Query with multiple arguments?

I am trying to do a WP_Query where I want the loop to execute only if the post type is books and genre is the

WordPress – How to use arguments of apply_filters?

I have problems extracting arguments from apply_filter function, wordpress simply says these arguments can be used, but does not explain how they can be extracted:

Back to Top 145132 wordpress questions, 32 Wordpress answers.
Wordpress related, All rights reserved
Powered by Creative Advertising