WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Listing Specific Categories (6 posts)

  1. webauthorings
    Member
    Posted 1 year ago #

    I have categories for teachers and categories for student. My client does not want them to appear on the same page, ie., student categories on one page and teacher categories on another page. I would like to do something like below to force specific categories to be listed on a particular page.

    [category_list category="21,22" ]

    Been through the first 30 pages, but did not find a solution.
    Your thoughts and feedback are greatly appreciated.

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 1 year ago #

    I think you can try something like [category_list exclude="21,22" ]

  3. webauthorings
    Member
    Posted 1 year ago #

    Thank you, agelonwl, but that did not work.
    Any other thoughts would be appreciated!

  4. caimin_nwl
    NetWebLogic Support
    Posted 1 year ago #

    Try this instead:

    [category_list exclude="-21,-22" ]

    That will exclude categories with the IDs 21 and 22.

  5. agelonwl
    Member
    Posted 1 year ago #

    hi,

    I see :)

    should be [categories_list exclude="21,22"]

    instead of

    [category_list exclude="21,22" ]

  6. webauthorings
    Member
    Posted 1 year ago #

    Got it!
    Thank you, agelonwl!

    The last solution created the magic!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic