Forums

How to show pages in absense of Menu (1 post)

  1. sulavneupane
    Member
    Posted 9 months ago #

    I have implemented Superfish Script in my theme for the menus. I want to show pages link if menu is not created by admin. How to do so, I am completely confused solving this.

    SCRIPT:
    <script type='text/javascript'>
    jQuery(function(){
    jQuery('div.sf-menu').superfish();
    });
    </script>

    IMPLEMENTATION OF MENU:
    <?php wp_nav_menu( array( 'container' => 'div', 'menu_class' => 'sf-menu', 'menu_id' => 'nav', 'sort_column' => 'menu_order', 'container_class' => 'menu-header' ) ); ?>

    In this way when I implement menu, I could not see any things in place of menu. I want to display pages links in absence of Menu. I also tried using 'fallback_cb' but while using this style is not applied to the pages links menu. How to solve this?????

Reply

You must log in to post.

About this Topic