WordPress.org

Ready to get started?Download WordPress

Forums

How to add specific content wp_nav_menu (1 post)

  1. detmold
    Member
    Posted 4 months ago #

    Hello Guys,
    I write my second template to WordPress. Here is my first if you want to check: essiepolska.pl
    However there will be the next: http://www.altex.com.pl/nowa/
    sorry for that awful look but it's still on develop and I have a problem. My menu is produced by <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?> I want it to be managad though I dont't know how to add specific content inside some list block. I need this for hover-over menu.

    `<div class="nav-menu">

      <li class="page_item page-item-2">
      Przykładowa strona

      <li class="page_item page-item-3">
      Other site
      <div class="special"></div> <!--SPECIFIC CONTENT INSERTED HERE INSIDE LIST BLOCK THOUGH-->

    </div>

    I read doc about this function, but still no luck.

Reply

You must log in to post.

About this Topic