WordPress.org

Ready to get started?Download WordPress

Forums

Where do I find this query??? wp-admin/includes/nav-menu.php line 83... Nope (3 posts)

  1. fred_far
    Member
    Posted 2 years ago #

    <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>
  2. fred_far
    Member
    Posted 2 years ago #

    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>
  3. fred_far
    Member
    Posted 2 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic