• I want the PARENT categories to show in the sidebar widget, but I don’t want them to be clickable (I only need them to show up there for a sense of heirarchy). Is there a way to do this, perhaps with a plugin?

    The CHILD categories should remain clickable.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Matija Erceg

    (@matijaerceg)

    Will I have to manually create the categories menu via a ‘Text’ widget??

    The only ways I could think of are:

    Option 1. To modify the output of wp_list_categories somehow using PHP maybe a preg pattern could do the job but I don’t know these well enough.

    Option 2. Use get_categories and use a loop to output the categories in the way you want, but I can’t find any examples of someone doing this atm!

    Thread Starter Matija Erceg

    (@matijaerceg)

    Well, is there a plugin that allows me to manually set the link URL of each category item? I am using one that does this for pages in the page menu, but I want one that does the same thing but for categories, if such a plugin exists..

    I am also looking to do this, but lots of searching has so far found only unanswered questions. Any ideas? Appreciate the help

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to disable Parent Categories from linking in widget?’ is closed to new replies.