Created
January 31, 2013 10:57
-
-
Save deckerweb/4682113 to your computer and use it in GitHub Desktop.
WordPress Widget Titles: Change default H4 to an H3.
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
<?php | |
add_filter( 'widget_title', 'ddw_custom_widget_title_headline' ); | |
/** | |
* Widget Titles: Change default H4 to an H3. | |
* | |
* @author David Decker - DECKERWEB | |
* @link http://deckerweb.de/twitter | |
*/ | |
function ddw_custom_widget_title_headline( $title ) { | |
return '<h3>' . $title . '</h3>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not exactly what you need, the old tags still remain https://prnt.sc/YH-lLBfpZMIS
https://prnt.sc/Qe3kno3PRES0