• Hi, I’m trying to implement an extra section into the classic wordpress menue list.

    I need to add following code ` <div class=”point”>·</div>
    <div class=”clearer”></div>` before the end of the list tag to get this structure:

    <ul>
            <li><a href="#">Page 1</a>
              <div class="point">·</div>
              <div class="clearer"></div>
            </li>
            <li><a href="#">Page 2</a>
              <div class="point">·</div>
              <div class="clearer"></div>
            </li>
            <li><a href="#">Page 3</a>
              <div class="point">·</div>
              <div class="clearer"></div>
            </li>
          </ul>

    Do you know, how to add this extra code into the function?

    My register sidebar code in the function is like this:

    if (function_exists('register_sidebar')) { register_sidebar(array(        'name' => 'Header Navigation',        'id'   => 'header-navigation',        'description'   => 'Header Navigation',        'before_widget' => '<div id="%1$s" class="widget %2$s">',        'after_widget'  => '</div>',        'before_title'  => '<h3>',    'after_title'   => '</h3>',        'menu_position' => 1    )); }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Adding additional HTML content into Register Sidebar Menu’ is closed to new replies.