WordPress.org

Ready to get started?Download WordPress

Forums

Exclude Header from Widgetized Side Bar (1 post)

  1. buildakicker
    Member
    Posted 6 years ago #

    Hell all,

    I have a simple side bar that is widgetized, however, I would like to Exclude the Header from my Calendar. Right now I have this in my Functions.php:

    <?php
    if ( function_exists('register_sidebar') )
    	register_sidebar(array(
            'before_widget' => '<li id="%1$s" class="widget %2$s">',
            'after_widget' => '</li>',
            'before_title' => '<h2>',
            'after_title' => '</h2>',
        ));
    
    ?>

    What do I need to do in 'before_title' 'after_title' to exclude a H2 on a certain widget? I'd like to do it on the calendar.

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic