• Resolved odryzhak

    (@odryzhak)


    Hi, I tried adding Horizontal scrol. announcement and Ditty News plugins just below the header to be visible on the homepage only. In line with pluginsdocumentation, the PHP codes of the plugins have to be nested just below <div id="wrapper"> and above <div id="main"> in the header.php file, but this doesnt help. However, on the forums people say I have to find the file the builds my homepage. It can be different than header.php file.
    Can you, please, help how to make those plugins work with your beautiful theme?

Viewing 1 replies (of 1 total)
  • Thread Starter odryzhak

    (@odryzhak)

    Well, guys I spent some more time and solved the issue. Those PHP codes have to be nested in the bottom of the header-featured.php file. Example:

    ‘<?php }?>
    <nav class=”site-nav main-menu” id=”navbar-collapse” role=”navigation”>
    <?php wp_nav_menu(array(‘theme_location’=>’primary’,’depth’=>0,’fallback_cb’ =>false,’container’=>”,’container_class’=>’main-menu’,’menu_id’=>’menu-main’,’menu_class’=>’main-nav’,’link_before’ => ‘<span>’, ‘link_after’ => ‘</span>’,’items_wrap’=> ‘<ul id=”%1$s” class=”%2$s”>%3$s<li class=”nav_focus”>focus<li class=”nav_default cur”>default’));?>
    </nav>
    </div>
    <?php newannouncement( $group = ‘GROUP1’ ); ?>
    </div>
    </div>
    </header>’

    Enjoy ??

Viewing 1 replies (of 1 total)
  • The topic ‘can`t add horizontal scrol. announcement to the header on homepage’ is closed to new replies.