Thumbnail as menu item
-
As far as I know, this isn’t a standard bit of wordpress coding…
I have set up a custom menu and populated it. This is displayed as a list of
<li>
s.
It’s a great feature and I’ve used it a lot now for CMS sites.I wondered if it’s possible to generate any other information from the
<?php wp_nav_menu('menu={name}'); ?>
code.For example, I’m trying to get the post thumbnail of each item that’s in the menu. Although just the ID would do as I could then use it to grab the thumbnail.
This would also need to be clean (ie. no
<li>
s etc)I saw that the
wp_get_nav_menu_item()
has been deleted.Any ideas? – would love to some thoughts or possible other ways to do this?
- The topic ‘Thumbnail as menu item’ is closed to new replies.