wordpress菜单添加不可预知的项目

时间:2018-05-22 02:19:29

标签: wordpress menu

Wordpress菜单添加了几个additiom并清空了一个标签(exacly two)enter image description here

if (has_nav_menu('secondary')) :
    ?>
    <nav id="menu-secondary-title" class="nav-anchors">
        <div class="wrap">
            <a id="menu-secondary-anchor" class="menu-secondary-anchor" title="<?php _e('Secondary Mobile Menu', 'path'); ?>" href="#menu-secondary-mobile"><?php //_e( 'Check Us Out!', 'path' );  ?></a>
            <div id="mobile-menu-secondary">
                <a href="#"><img src="<?php echo get_template_directory_uri(); ?>/images/Hamburger_icon.svg.png"</a>
                <?php wp_nav_menu(array('theme_location' => 'secondary', 'container_class' => 'menu-secondary-mobile-top', 'menu_class' => '', 'menu_id' => 'menu-secondary-items', 'fallback_cb' => '')); ?>
            </div>

        </div><!-- .wrap -->

    </nav><!-- #menu-secondary-title -->

    <nav id="menu-secondary" class="menu-container">
        <div class="wrap clr">
            <?php wp_nav_menu(array('theme_location' => 'secondary', 'container_class' => 'menu', 'menu_class' => '', 'menu_id' => 'menu-secondary-items', 'fallback_cb' => '')); ?>
        </div><!-- .wrap -->
    </nav><!-- #menu-secondary .menu-container -->

<?php endif; ?>

拜托,帮我找一下可能出错的地方。我可以探索哪个下一个wordpress文件,找到哪里有问题?

0 个答案:

没有答案