Created
September 9, 2016 17:16
-
-
Save loorlab/efca4f700517e095195aab255b303925 to your computer and use it in GitHub Desktop.
Disable Title Widgets on WordPress via http://stackoverflow.com/questions/9428758/wordpress-dynamic-sidebar-without-title
This file contains hidden or 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
<?php | |
/** | |
* functions.php | |
* Disable Title Widgets | |
*/ | |
add_filter('widget_title','my_widget_title'); | |
function my_widget_title($t){ | |
return null; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How do you specify which widget you don't want to print the title??
add_filter('widget_title','my_wiget_name');
function my_widget_title($t){return null;}