• I was wanting to know how to change the h2 tags in a Widetized sidebar. I know if I just open sidebar.php and plug in the code I can make it what ever I want. (ie. h4,h5, h6)

    Another restriction is I don’t want to have to change a “CORE” wordpress file because I don’t want to have to redo the programing after every update.

    Any help would be greatly appreciated!

    Thanks in advance!

Viewing 1 replies (of 1 total)
  • have a look in functions.php of your theme and see if you can find something like this (from the default theme):

    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 should be able to change the h2 there into something else.

Viewing 1 replies (of 1 total)
  • The topic ‘How do I change h2 tags in a Wigetized sidebar’ is closed to new replies.