Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hey Cory, check your functions.php and make sure you have the correct widget ID name.

    The PHP Code should look like this:

    function northwest_fishing_news_init () {
    register_sidebar ( array (
    ‘name’ => ‘Header Widget’,
    ‘id’ => ‘header-widget’’,
    ‘before_widget’ => ‘<div class=”header-right-widget”>’,
    ‘after_widget’ => ‘</div>’,
    ‘before_title’ => ‘<h3 class=”widget-title”>’,
    ‘after_title’ => ‘</h3>’,
    ));

    }

    add_action ( ‘widgets_init’,’northwest_fishing_news_init’);

    When you insert into header the php code you enter into your header.php file should look like this. <?php dynamic_sidebar( ‘header-widget’ ); ?>

    Hope this helps.

Viewing 1 replies (of 1 total)