Troubles with WP_Query object
-
Greetings, I am having troubles getting posts to sort using the WP_Query object. It works fine using query_posts(‘section_name=campaigns’);.
I have tried:
$post_query = new WP_Query('section_name=test');
$post_query = new WP_Query(array('section_name'=>'test');
The site is not open to the web so I can’t link for you. Thanks for your help and your work.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Troubles with WP_Query object’ is closed to new replies.