Title: Adding additional HTML content into Register Sidebar Menu
Last modified: August 31, 2016

---

# Adding additional HTML content into Register Sidebar Menu

 *  [ilip1991](https://wordpress.org/support/users/ilip1991/)
 * (@ilip1991)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/adding-additional-html-content-into-register-sidebar-menu/)
 * 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)

 *  [Bob Cristello](https://wordpress.org/support/users/gntmidnight/)
 * (@gntmidnight)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/adding-additional-html-content-into-register-sidebar-menu/#post-7049003)
 * Typically, people create a sidebar template that would be called by using the
   get_sidebar() function in their code ( [https://developer.wordpress.org/reference/functions/get_sidebar/](https://developer.wordpress.org/reference/functions/get_sidebar/)).
   In this template you would add additional code that would be included in that
   sidebar.

Viewing 1 replies (of 1 total)

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

## Tags

 * [list](https://wordpress.org/support/topic-tag/list/)
 * [menu](https://wordpress.org/support/topic-tag/menu/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Bob Cristello](https://wordpress.org/support/users/gntmidnight/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/adding-additional-html-content-into-register-sidebar-menu/#post-7049003)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
