WordPress.org

Forums

Ninja Page Categories and Tags
/?cat=## displaying only posts (5 posts)

  1. fencer_x
    Member
    Posted 2 years ago #

    I recently installed this plugin, as it looks like it's just what I need to make better use of the many pages I use on my site.

    However, after appending the category in question to 2 pages and 1 post, only the 1 post shows up under http://website.com/?cat=##

    Have I missed something somewhere? I see a few others have had similar issues, but I can't seem to parse just how they resolved these issues. Any suggestions would be greatly appreciated!

    http://wordpress.org/extend/plugins/ninja-page-categories-and-tags/

  2. James Laws
    The WP Ninjas
    Plugin Author

    Posted 2 years ago #

    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.

  3. fencer_x
    Member
    Posted 2 years ago #

    James,

    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.

  4. jeanmichellsouber
    Member
    Posted 1 year ago #

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

  5. jeanmichellsouber
    Member
    Posted 1 year ago #

    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')); ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Ninja Page Categories and Tags
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.