Created
March 21, 2013 02:08
-
-
Save intelliweb/5210187 to your computer and use it in GitHub Desktop.
Builder: Change default widget title HTML wrapper. How to replace H4 tags around widget titles
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 | |
// Modify default widget wrappers | |
add_filter( 'builder_filter_register_sidebar_options', 'intw_modify_widget_wrappers' ); | |
function intw_modify_widget_wrappers( $options ) { | |
$options['before_title'] = '<div class="widget-title">'; | |
$options['after_title'] = '</div>'; | |
return $options; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment