WordPress.org

Ready to get started?Download WordPress

Forums

Collapsing Categories
[resolved] exclude posts via tags (2 posts)

  1. sandylea
    Member
    Posted 2 years ago #

    i have a site that offers articles written using professional medical terms that are aimed at medical professionals. the same site takes the professional content and posts a revised version that is easy for a layperson to understand. i am trying to use collapsing categories in a tabbed widget where the first tab contains category links to the layperson articles and excludes access to articles written with professional jargon. the second tab would list the categories that link to articles written for professionals.

    basically, there are two versions of each article and i would like to tag one version professional and another version layperson and be able to exclude layperson tagged posts from appearing when you click on a professional category and vice versa. is this something anyone else has done? can collapsing categories handle this with a little coding (that I would need a lot of help with) or is there maybe another plugin that could do the trick?

    thanks for your help

    http://wordpress.org/extend/plugins/collapsing-categories/

  2. sandylea
    Member
    Posted 2 years ago #

    I was able to figure out how to do this. I created 2 parent categories - layperson and professional. I put all my categories as sub- and subsubcategories within these parent categories. Then I created one list of categories where I made the parent category "layperson" auto-expand, I then included the category "layperson" as the only category to display and I unchecked the box so that I'm not showing top level categories. It worked like a charm. The only thing that I struggled with was realizing that the slug should be used when indicating which categories to include or exclude. Hoping this will help someone else at some point.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.