in Tips, Tutorials, WordPress

Hide WordPress Calendar Widget Title

When a WordPress widget has no title, the title doesn’t appear. Simple enough. However, the same doesn’t apply for the in-built Calendar widget. It will still display the title’s before and after tags regardless of the fact is doesn’t have a title.

The following little code snippet will fix that. Just add it your functions.php file:

By the way, you don’t have to have ‘bryce’ in the bit of code. Just replace it with your theme’s text domain or something else.

Write a Comment