• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Remove Categories from Categories Widget

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Remove Categories from Categories Widget

This topic is: not resolved

Tagged: category widget, widget title

  • This topic has 6 replies, 4 voices, and was last updated 8 years, 5 months ago by anu121.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • December 13, 2016 at 3:17 pm #197542
    rogerp
    Participant

    I have the Categories Widget in my sidebar with no Title in it, however it is displaying the title of Categories. If I type another title in e.g test - it will display the title as test.

    How can I remove the default title of Categories and have it not have a title at all?


    Roger
    https://www.rogerperkin.co.uk/
    Check out my Network Automation Training – Training the Network Engineers of the Future

    http://www.rogerperkin.co.uk/blog/
    December 13, 2016 at 3:53 pm #197543
    Victor Font
    Moderator

    This will work for you. I tested it on the Genesis Sample Theme in my local environment.

    function empty_categories_widget_title( $title, $instance, $base ) {
        if ( $base == 'categories' ) {
            if ( trim($instance['title']) == '' )
                return '';
        }
        return $title;
    }
    add_filter('widget_title', 'empty_categories_widget_title', 10, 3);

    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    December 13, 2016 at 3:58 pm #197544
    Brad Dalton
    Participant

    You can filter the widget title.

    Or

    A simple solution is to inspect the title, find the classes and use display: none;


    Tutorials for StudioPress Themes.

    December 14, 2016 at 7:42 am #197567
    rogerp
    Participant

    Thanks Brad, that works but also took out the title of the enews widget.

    So need to revert to Victors method


    Roger
    https://www.rogerperkin.co.uk/
    Check out my Network Automation Training – Training the Network Engineers of the Future

    December 14, 2016 at 5:09 pm #197591
    Brad Dalton
    Participant

    Not if you use the class for the categories widget before the class for the widget title.


    Tutorials for StudioPress Themes.

    December 14, 2016 at 7:00 pm #197592
    Brad Dalton
    Participant

    Like this:

    .widget_categories .widget-title {
        display: none;
    }
    

    Or this in your functions file:

    add_filter('widget_title', 'remove_categories_widget_title');
    function remove_categories_widget_title() {
        if ( $base == 'categories' ) {
                return false;
        }
    }
    

    Tutorials for StudioPress Themes.

    December 15, 2016 at 5:16 am #197608
    anu121
    Member

    for wordpress users

    remove category plugin is there check in google
    its working fine

    http://tollywoodmania.com/

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble