Forums

Exclude specified categories from tag archive (6 posts)

  1. Signtec
    Member
    Posted 1 year ago #

    I have not found an option yet where i can exclude one specified category from a tag archive. i tried around with the "simply exclude" plugin which helps to hide categories from the homepage and archives in general although i want theses categories to be hidden also on tag archives, BUT it has to be visible on the category archive
    Any ideas?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

  3. Signtec
    Member
    Posted 1 year ago #

    i dont really get it.

    so if i have a tag archive where i want to exclude one category can i still have a category archive with the hidden category?

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Yes. You just use a custom query to exclude your category in the tag template file.

  5. Signtec
    Member
    Posted 1 year ago #

    sorry im a noob. could you show me an example. i dont know what the tag template file is.

    Thanks

  6. Signtec
    Member
    Posted 1 year ago #

    hey im back

    so i understand how to exclude categories from archives but what i havent found is the code to exclude categories only on tag archives, they have to show up in their own category archive

    Any suggestions?

Topic Closed

This topic has been closed to new replies.

About this Topic