• Resolved mindkil

    (@mindkil)


    I want to add a menu item called Home, but to have the actual Home page have a different title.
    Also, I want to have a small Flag image as the last menu item, which would open a page on different language (this page is a simple WP page).

    How can I do these things?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Assuming you’re using something like wp_list_pages, try adding:

    <li><a href="<?php bloginfo('url');?>">Item Name</a></li>

    just above the template tag in your nav menu’s template file. You can use a similar approach for the last menu item:

    <li><a href="permalink of page"><img src="full_path_to_image" width="xx" height="yy" alt="description_of_image" /></a></li>

    Thread Starter mindkil

    (@mindkil)

    Sorry, but I don’t understand where to put this code? I don’t see it in header.php.

    This is the link:
    https://www.baksagaspar.com/vip-proba/

    Could you please check how to do it in this template? (the first menu link should be the Home=F?oldal, but with different title on the page itself; and the last should be link to p. English with the small flag)

    Thank you.

    Thread Starter mindkil

    (@mindkil)

    I found one plug-in that could do exactly what is needed for the first link, it’s called Page List plus. Thanks Tim Holt!

    But I still have the problem to make the image-link in the last menu item. Any suggestions? Maybe one nice plug-in?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add a home item in menu, image in the menu’ is closed to new replies.