List category posts
Trying to exclude a category from list (5 posts)

  1. nik_patch
    Posted 3 years ago #

    Hi, I love this plugin and it works really well - but on one of my pages I'm trying exclude those posts with the slug 'archived-info' and have tried using both the minus sign and the exclude option suggested but with no luck. Can you let me know what I'm doing wrong?

    Many thanks!

    '[catlist name=latest-news, -archived-info posts_morelink="Read more..."]'


  2. Frank
    Posted 3 years ago #

    I would try to eliminate the whitespace after the comma. Otherwise it's not clear, that it belongs to the name attribute. If that does not work, try using "-7" or sth. like that instead, what should be the caterory's internal number.

    EDIT: NO, sorry. Seems that the plugin does not support excluding categories. At least it's not possible via the name attribute.

  3. Frank
    Posted 3 years ago #

    The Other notes page says:
    exclude a category with the minus sign (-): [catlist id=11,-32,16].

    Yes. That's the way it works. Use the id attribute, e.g.: [catlist id=-5] where "-5" has to be your internal category number.

  4. nik_patch
    Posted 3 years ago #

    ok, thanks very much! That works! :)

  5. robertallen
    Posted 3 years ago #

    Does this work in reverse? If you want to display ALL the latest posts in your blog no matter what the category is, and then you just X out the category you don't want?

    [catlist id=-5]


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • List category posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic