Custom post type not supported, only page and post
-
Hello,
the plugin doesn’t work with custom post types, you just need to change in big-voodoo-mega-menu-related-links-menu/mega-menu-admin.php line 366 :
if($menu_item[‘menu-item-object’] == ‘page’ || $menu_item[‘menu-item-object’] == ‘post’){
by :
$custom_post_types = get_post_types();
$custom_post_types = array_flip( $custom_post_types );
if( in_array( $menu_item[‘menu-item-object’], $custom_post_types ) ) {Please let me know if you can add this code to your plugin or if i can do it with SVN.
Thanks you
Sylvain
https://www.ads-software.com/plugins/big-voodoo-mega-menu-related-links-menu/
- The topic ‘Custom post type not supported, only page and post’ is closed to new replies.