Thread Starter
id eric
(@insidedesign)
Figured it out. Edit widgets.php in the wp-includes folder. Line 56 and 57
Actually, you should have edited the theme, not the widgets.php file.
In the theme’s functions.php file, there’s a call that sets up the sidebars, which looks similar to this:
if ( function_exists('register_sidebar') )
register_sidebar(array(
'before_widget' => '<li id="%1$s" class="widget %2$s">',
'after_widget' => '</li>',
'before_title' => '<h2 class="widgettitle">',
'after_title' => '</h2>',
));
You can change the before and after title bits there to change the H2 into whatever you want.
Tried the change in functions.php but simply couldn’t get it to work so I edited widgets.php. That worked fine but now I have to remember the change every time I upgrade. At least I now have <h4> tags. Thanks Insidedesign!