Created
September 12, 2012 09:20
-
-
Save bryceadams/3705492 to your computer and use it in GitHub Desktop.
Hide Wordpress calendar widget title
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// hide calendar widget title when no title has been added | |
function bryce_widget_title($title) { | |
return $title == ' ' ? '' : $title; | |
} | |
add_filter('widget_title', 'bryce_widget_title'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment