• If you have a menu with categories, the Nav Menu Images plugin will show images from posts with the same ID as the category. Example: If you have a fresh install of WordPress and create a new category, this category will have term_id 1. Proceed to create a post, and give this post a featured image. This post will then have ID 1. Create a category menu and add the term you created to the menu. This menu item will now have the image of the post. I fixed this by adding a get_post_type($item_id)===’nav_menu_item’ to the menu_item_content function in walker.php (line 188)

    https://wordpress.org/plugins/nav-menu-images/

  • The topic ‘Shows images of post with same id as category’ is closed to new replies.