Support » Fixing WordPress » Category for positioning purpose. Excluding EVERYWHERE?

  • I searched everywhere, I cant find the perfect solution.
    It’s clear that in WP, categories are used for 2 purposes: content categorization, and content visualization. For example a category “frontpage” is often used to query home highlights.

    In this second case, a post will have 2 categories, for example “politic” and “frontpage”. Now, the problem is that the second category, “frontpage”, should only work to query the articles on the homepage but should be excluded from rss, breadcrumbs, permalinks, and everywhere else.

    Unfortunately the category “frontpage” is often associated with the article, (permalink or breadcrumb…) in conflict with the other content category.

    Any help?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @giudansky,

    You might consider querying the home highlights in a different way. One solution would be using a particular custom field for that instead of the “frontpage” category, another option would be to query the sticky posts or even using a custom taxonomy for this. There are many ways to do that query without using the default categories.

    I hope I gave you some ideas.

    Thread Starter giudansky

    (@giudansky)

    Yes, I will go with custom taxonomies. I met so many websites using categories for positioning purpose, I’m also got confused. I think it could be the worst error.

    The only doubt I have is about the possibility of filtering in the backend article listing. I’m not sure I can do it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Category for positioning purpose. Excluding EVERYWHERE?’ is closed to new replies.