Did not work
-
I created an ‘ourteamsection’ section for our custom post types and used this code:
$args = array( ‘post_type’ => ‘our-team’, ‘posts_per_page’ => 100, ‘section’ => ‘ourteamsection’ );
$loop = new WP_Query( $args );
but it didn’t work. I also tried just:
$args = array( ‘section’ => ‘ourteamsection’ );
But it showed every kind of post even though I specified only our-team post types in the section. I browsed the support forums and several other people had this problem. Had much better luck with the “Intuitive post order” plugin.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Did not work’ is closed to new replies.