Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7998843
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T15:19:50+00:00 2026-06-04T15:19:50+00:00

i am working on a school project and I am stuck at a point

  • 0

i am working on a school project and I am stuck at a point where i
want to put an image ( >><< ) inbetween <li>-tags. Because it’s a
navigation in wordpress it’s done in php.

Here is what i have:

img http://img825.imageshack.us/img825/253/screenshot20120529at305.png

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

img http://img703.imageshack.us/img703/253/screenshot20120529at305.png

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

function inkthemes_nav() {
    if (function_exists('wp_nav_menu'))
        wp_nav_menu(array('theme_location' => 'custom_menu', 'container_id' => 'menu', 'menu_class' => 'ddsmoothmenu',

‘fallback_cb’ => ‘inkthemes_nav_fallback’));
else
inkthemes_nav_fallback();
}

function inkthemes_nav_fallback() {
    ?>
    <div id="menu">
        <ul class="ddsmoothmenu">
            <?php
            wp_list_pages('title_li=&show_home=1&sort_column=menu_order');
            ?>
        </ul>
    </div>
    <?php
}

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

    }
    $items = $homelink . $items;
    return $items;
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T15:19:52+00:00Added an answer on June 4, 2026 at 3:19 pm

    Try to use a CSS-Only solution:

    .ddsmoothmenu li {
      background: url('image/menuitem.png') no-repeat left center;
      padding-left:30px /* you have to adjust this manually */
    }
    .ddsmoothmenu li:first-child{
      background:none;
      padding-left:0;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My team working on a php/MySQL website for a school project. I have a
Im working in a school project. I want the user to select categories to
I am working on a school project with another two friends. I want an
I'm working on a school project which need to be done in Visual Basic.
I am working a school project to implement a Huffman code on text. The
while working on a school project i ran into a problem using javascript to
Im working on a school project and it's my first time on android development.
I am working on a school project (if you couldn't figure that out just
I am working on a school project. It's an internet page with XML /
I am currently working on a school project and I'm not sure what is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.