WordPress.org

Ready to get started?Download WordPress

Forums

How to make parent categories unclickable text? (3 posts)

  1. delFUEGO
    Member
    Posted 8 years ago #

    I need to make parent categories a "nonclickable" text. I need to separate the categories in groups, so I thought of making subcats, but I don't want the parentcats to be clickable (an its consecuence "all posts within this cat" search). Is there a clean way of doing this?

  2. Rob Poitras
    Member
    Posted 8 years ago #

    you could just do a simple list, and then just list only the categories you want by using a tag of the category id.

    http://codex.wordpress.org/Template_Tags/list_cats

    like just have the Name of the parent category above the li tags, and dont have it link to anything (just basic text)

    does that help?

  3. delFUEGO
    Member
    Posted 8 years ago #

    I guess that would do the trick. Im new to WordPress and English is not my "default" language, but I'll figure it out somehow. Thanx for the tip Bob!

Topic Closed

This topic has been closed to new replies.

About this Topic