Adding icon to <li> menu

admin

Administrator
Staff member
<blockquote>
i am working on a school project and I am stuck at a point where i
want to put an image ( >>&lt;&lt; ) inbetween
Code:
&lt;li&gt;
-tags. Because it's a
navigation in wordpress it's done in php.

Here is what i have:

<a href="http://img825.imageshack.us/img825/253/screenshot20120529at305.png" rel="nofollow noreferrer">img http://img825.imageshack.us/img825/253/screenshot20120529at305.png</a>

Here is what i want (look at the blue thingies in between the menu
items):

<a href="http://img703.imageshack.us/img703/253/screenshot20120529at305.png" rel="nofollow noreferrer">img http://img703.imageshack.us/img703/253/screenshot20120529at305.png</a>

I think this is the php where i need to put my image/menuitem.png..
but where? Help would very much be appreciated

Code:
function inkthemes_nav() {
    if (function_exists('wp_nav_menu'))
        wp_nav_menu(array('theme_location' =&gt; 'custom_menu', 'container_id' =&gt; 'menu', 'menu_class' =&gt; 'ddsmoothmenu',

'fallback_cb' => 'inkthemes_nav_fallback'));
else
inkthemes_nav_fallback();
}

Code:
function inkthemes_nav_fallback() {
    ?&gt;
    &lt;div id="menu"&gt;
        &lt;ul class="ddsmoothmenu"&gt;
            &lt;?php
            wp_list_pages('title_li=&amp;show_home=1&amp;sort_column=menu_order');
            ?&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
    &lt;?php
}

function inkthemes_home_nav_menu_items($items) {
    if (is_home()) {
    //home
        $homelink = '&lt;li class="current_page_item"&gt;' . '&lt;a href="' . home_url('/') . '"&gt;' . __('Home', 'themia') . '&lt;/a&gt;&lt;/li&gt;';
    } else {
     //niet home
        $homelink = '&lt;li&gt;' . '&lt;a href="' . home_url('/') . '"&gt;' . __('Home', 'themia') . '&lt;/a&gt;&lt;/li&gt;/&gt;';

    }
    $items = $homelink . $items;
    return $items;
}
</blockquote>