WordPress.org

Support

Support » Themes and Templates » Where do I find this query??? wp-admin/includes/nav-menu.php line 83… Nope

Where do I find this query??? wp-admin/includes/nav-menu.php line 83… Nope

  • <div class="menu-sidebar-container">
      <ul id="menu-sidebar" class="menu">
        <li id="menu-item-61" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-61"><a href="http://localhost/wordpress/?page_id=36">Home</a>
        <li id="menu-item-62" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-62"><a href="http://localhost/wordpress/?page_id=44">Fruits</a>
            <ul class="sub-menu">
    	  <li id="menu-item-64" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-64"><a href="http://localhost/wordpress/?page_id=46">History</a>
    	   <li id="menu-item-63" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-63"><a href="http://localhost/wordpress/?page_id=48">Aims</a>
    
    </div>
Viewing 2 replies - 1 through 2 (of 2 total)
  • Beacause I would like to add a a new line between the
    <li> and the <a>.. Like that..
    
    <li>
    <my new live (div or what ever)></my new line>
    <a>----</a>
    </li>
    <div id="collapse_menu">
    <div class="menu-sidebar-container">
      <ul id="menu-sidebar" class="menu">
        <li id="menu-item-61" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-61"></a><a href="http://localhost/wordpress/?page_id=36">Home</a></li>
        <li id="menu-item-62" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-62"><a href="http://localhost/wordpress/?page_id=44">Fruits</a>
            <ul class="sub-menu">
    	   <li id="menu-item-64" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-64"><a href="http://localhost/wordpress/?page_id=46">History</a>
    	   <li id="menu-item-63" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-63"><a href="http://localhost/wordpress/?page_id=48">Aims</a>
    
    </div>

    I found the file:
    wp-includes/nav-menu-template.php but still don’t know how to add my between them. It will show only for the sidebar…
    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Where do I find this query??? wp-admin/includes/nav-menu.php line 83… Nope’ is closed to new replies.