• Resolved szury

    (@szury)


    My template has <h2> tags in the sidebar titles. I want to remove that h2 tag.

    I opened sidebar.php and found only this:

    <div id="sidebar">
            <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Sidebar') ) : ?>
    		<li id="search" class="widget"><?php include (TEMPLATEPATH . '/searchform.php'); ?>
    		<?php endif; ?>
    
    </div>

    I searched every template file for the <h2> tag but couldn’t find any.

    Can somebody help me?

Viewing 4 replies - 1 through 4 (of 4 total)
  • esmi

    (@esmi)

    Try looking in your theme’s functions.php file.

    Thread Starter szury

    (@szury)

    there’s a lot of code there but this is all that I could find related to my problem:

    if(function_exists('register_sidebar')){ register_sidebar(array('name' => 'Sidebar' )); }
    if(function_exists('register_sidebar')){ register_sidebar(array('name' => 'Footer')); }

    I tried to change it to this with no effect:
    if(function_exists('register_sidebar')){ register_sidebar(array('name' => 'Sidebar' 'before_title' => '<h4>','after_title' => '</h4>',)); }

    esmi

    (@esmi)

    Thread Starter szury

    (@szury)

    later edit:

    It works now thank you 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘How to edit dynamic sidebar?’ is closed to new replies.