Wordpress下拉菜单无法正常工作

时间:2015-09-25 14:09:35

标签: php wordpress twitter-bootstrap header

我将自举主题转换为wordpress主题,然后我按照Treehouse中的步骤进行操作现在当我尝试添加子菜单时,#Lorem Ipsum"它显示如下图所示。我想在服务的下拉列表中找到它。 我的header.php文件就像这样

<header>  
  <div class="container top-sect">
    <div class="navbar-header">
      <h1 class="navbar-brand">
        <a  href="<?php echo site_url(); ?>"><?php bloginfo('name'); ?></a>
      </h1>
      <a class="search-form_toggle" href="#"></a>
    </div>

    <div class="help-box text-right">
      <p>Need help?</p>
      <a href="callto:#">800-2345-6789</a>
      <small><span>Hours:</span>  6am-4pm PST M-Th; &nbsp;6am-3pm PST Fri</small>
    </div>
  </div>


  <div id="stuck_container" class="stuck_container">
    <div class="container">   
    <nav class="navbar navbar-default navbar-static-top pull-left">            

        <div class="">  
          <ul class="nav navbar-nav sf-menu" data-type="navbar">
          <?php wp_list_pages(array('title_li' => '')); ?>
          </ul>

        </div>
    </nav>  
    <form class="search-form" action="http://static.livedemo00.template-help.com/wt_54725/search.php" method="GET" accept-charset="utf-8">
      <label class="search-form_label">
        <input class="search-form_input" type="text" name="s" autocomplete="off" placeholder=""/>
        <span class="search-form_liveout"></span>
      </label>
      <button class="search-form_submit fa-search" type="submit"></button>
    </form>

    </div>

  </div>  
</header>

My Menu

0 个答案:

没有答案