Support » Plugin: Ninja Pages » /?cat=## displaying only posts

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author James Laws


    The WP Ninjas

    Did you check the box in the plugin settings to include pages in the category and tags archive pages?

    Also, this will only modify the main archive query. If you theme is using a custom query to display these category listings Ninja Pages won’t know about them and can’t include pages in those.


    Yes, I’ve got the box checked–so I assume my theme must be the culprit. Alas–seems I’ll just have to populate the widget manually.

    Friend, you just have to insert “post_type=page” to query pages instead posts.

    Or… you can just set both types as an array to show pages and posts with the category X…

    Like this:

    <?php query_posts(array(‘post_type’=> array(‘post’, ‘page’), ‘category_name’ => ‘X’, ‘showposts’ => ‘-1’)); ?>

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘/?cat=## displaying only posts’ is closed to new replies.