Title: Menu Thumbnail
Last modified: August 31, 2016

---

# Menu Thumbnail

 *  Resolved [lcsternstrategy](https://wordpress.org/support/users/lcsternstrategy/)
 * (@lcsternstrategy)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/menu-thumbnail/)
 * I need to have a featured image for menus themselves, not just the menu items.
   I’ve added this functionality by adding thumbnail support for the Menu custom
   post type in the cpts.php file, but would love it if this change was incorporated
   in the core so I didn’t hack it.
 * Thanks! I’m really hoping this plugin will work out for the project we’re working
   on.
 * [https://wordpress.org/plugins/food-and-drink-menu/](https://wordpress.org/plugins/food-and-drink-menu/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [NateWr](https://wordpress.org/support/users/natewr/)
 * (@natewr)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/menu-thumbnail/#post-6913815)
 * Hi lcsternstrategy,
 * You can use the [fdm_menu_args](https://github.com/NateWr/food-and-drink-menu/blob/master/cpts.php#L75)
   filter to adjust the custom post type from your theme’s `functions.php` file 
   or a custom plugin.
 * If you’re not familiar with actions and filters, take a look at [these docs on the WordPress codex](https://codex.wordpress.org/Plugin_API).
   This might be a more accessible [introduction](https://www.smashingmagazine.com/2011/10/definitive-guide-wordpress-hooks/)
   to their use.
 * In this case, you’d use code like this to modify the post type arguments:
 *     ```
       add_filter( 'fdm_menu_args', 'lcsternstrategy_add_menu_thumbnail' );
       function lcsternstrategy_add_menu_thumbnail( $args ) {
       	array_push( $args['supports'], 'thumbnail' );
       	return $args;
       }
       ```
   
 * Beware I haven’t tested this code. If you run into problems just check it for
   syntax errors and make sure it all lines up.
 * The filter runs early, so make sure you’re hooked in before the `init` call. 
   If you’re building your own theme, the `functions.php` file is probably the best
   place for this.
 *  Thread Starter [lcsternstrategy](https://wordpress.org/support/users/lcsternstrategy/)
 * (@lcsternstrategy)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/menu-thumbnail/#post-6913831)
 * Nate,
 * Thanks for the quick response! That code as is actually worked perfectly to add
   a thumbnail to the menu! Cheers!
 *  [NateWr](https://wordpress.org/support/users/natewr/)
 * (@natewr)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/menu-thumbnail/#post-6913849)
 * Hi lcsternstrategy,
 * Glad to hear it! The plugin is packed with hooks that allow you to filter a lot
   of things so you don’t need to make changes to the plugin itself. And there’s
   a whole [templateing system](http://themeofthecrop.com/2014/01/28/customize-restaurant-menu-templates/)
   as well.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Menu Thumbnail’ is closed to new replies.

 * ![](https://ps.w.org/food-and-drink-menu/assets/icon-128x128.png?rev=2205559)
 * [Five Star Restaurant Menu and Food Ordering](https://wordpress.org/plugins/food-and-drink-menu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/food-and-drink-menu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/food-and-drink-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/food-and-drink-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/food-and-drink-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/food-and-drink-menu/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [NateWr](https://wordpress.org/support/users/natewr/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/menu-thumbnail/#post-6913849)
 * Status: resolved