dongmi1663 2015-09-26 03:03
浏览 51

Wordpress下拉菜单无法正常工作

Am converting a bootstrap theme to wordpress theme and i followed steps in Treehouse And now when i try to add a sub menu "Lorem Ipsum" it shows like the image shown below. I want that in the dropdown list of services. My header.php file is like this

<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条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 关于#matlab#的问题:在模糊控制器中选出线路信息,在simulink中根据线路信息生成速度时间目标曲线(初速度为20m/s,15秒后减为0的速度时间图像)我想问线路信息是什么
    • ¥15 banner广告展示设置多少时间不怎么会消耗用户价值
    • ¥16 mybatis的代理对象无法通过@Autowired装填
    • ¥15 可见光定位matlab仿真
    • ¥15 arduino 四自由度机械臂
    • ¥15 wordpress 产品图片 GIF 没法显示
    • ¥15 求三国群英传pl国战时间的修改方法
    • ¥15 matlab代码代写,需写出详细代码,代价私
    • ¥15 ROS系统搭建请教(跨境电商用途)
    • ¥15 AIC3204的示例代码有吗,想用AIC3204测量血氧,找不到相关的代码。