WordPress.org

Support

Support » How-To and Troubleshooting » No links on main categories

No links on main categories

  • Hi all,

    I have a bunch of categories and sub-categories:

    category_1
    sub_category_1.1
    sub_category_1.2

    category_2
    sub_category_2.1
    sub_category_2.2

    I use wp_list_cats to list all the categories and sub-categories in my sidebar. But all of them have a link. I just want links on sub_categories and no links on categories. Is this possible?

Viewing 1 replies (of 1 total)
  • I don’t think it is possible without altering core files, but I am not a coder, so have no idea where.
    Alltogether, modifying core files is not recommended, and it makes any upgrade quite complicated.

Viewing 1 replies (of 1 total)
  • The topic ‘No links on main categories’ is closed to new replies.