Forum Replies Created

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

    (@blogofasia)

    Hi again!
    Thanks for the advice!
    But plz tell me how could I fix it? The error is here:

    <ul id=”nav”><li class=”home”><img src=”https://www.blogofasia.com/wp-content/themes/manifesto/images/men_icon_home.png&#8221; width=”16″ height=”14″ alt=”” />class=””><li id=”menu-item-1382″ class=”menu-item menu-item-type-taxonomy menu-item-object-category menu-item-1382″>Asia News
    <ul class=”sub-menu”>

    But when I open the header.php, it only shows this:
    <div id=”menu” class=”dropdown”>
    <?php $menu = wp_nav_menu( array(‘container’ => ”, ‘container_class’ => ”, ‘menu_class’ => ”, ‘menu_id’ => ‘nav’, ‘echo’=> false, ‘sort_column’ => ‘menu_order’, ‘theme_location’ => ‘primary’ ) );
    /* now we remove the

    at the end of the generated menu, we will append it manually together with a <li class=”cleaner”>  that clears all floated elements */
    $menu_new = substr($menu, 0, -5);
    $menu_new .= ‘<li class=”cleaner”> ‘;
    print_r($menu_new);
    ?>
    </div>

    Please tell me how can I fix this?

Viewing 1 replies (of 1 total)