• I’ve tried searching online for how to remove category links from the top of my site, but nothing works. I currently have one category link at the called “Proofreading.”
    I don’t want any links up there at all, but perhaps that isn’t a simple fix with this theme? I’m using Isca by Pro Theme Design.

    Many thanks for any help you can offer!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Have you looked under APPEARANCES -> MENUS or in your theme options?

    I recommend asking at https://www.ads-software.com/support/theme/isca so the theme’s developers and support community can help you with this.

    Thread Starter wr1t1ng

    (@wr1t1ng)

    Thanks for the reply. I just looked where you suggested but still found no way to remove the category link, so I’ll go post where you suggested. Thanks again!

    Hello, so from my point of view you just want to hide the category on certain page(it should work in all pages), right? If that so, here is the solution that worked perfect for me(the first solution). I’m going to leave you a second function if you want to hide it from your widget as well.

    // Hide post with ID category
    function exclude_category( $query ) {
    if ( $query->is_home() && $query->is_main_query() ) {
    $query->set( 'cat', '-101,-102' );// type ID category
    }
    }
    add_action( 'pre_get_posts', 'exclude_category' );
    // Hide ID category from category widget
    function exclude_widget_categories($args){
        $exclude = "101,102";// type ID category
        $args["exclude"] = $exclude;
        return $args;
    }
    add_filter("widget_categories_args","exclude_widget_categories");
    
    Thread Starter wr1t1ng

    (@wr1t1ng)

    Hi, thanks so much for sharing your solution. You’re much more tech-savvy than me, though, so I must admit I actually don’t know where I would need to insert that function.

    However, I did end up figuring out an easy work-around for my problem. Under Categories, I clicked +ADD NEW CATEGORY and created a new category using simply the number 0. I checked the little box for that category–-and no others–-for each of my posts. Now no categories show up on my website, therefore eliminating the top link, which is just what I wanted.

    Thanks anyway for your time and assistance, and I’m sure others will use it. Much appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to hide or remove category links’ is closed to new replies.