[Plugin: Meteor Slides] custom posts thumbnail bug
-
Hi,
I just found a bug in your plugin.
I had added post thumbnail support in my theme using this
add_theme_support('post-thumbnails');
I also added a custom post types. But then when I installed the plugin, the thumbnails stopped working in my custom post type.I found that the cause is in the line 54 of meteor-slides-plugin.php
elseif ( true === $_wp_theme_features['post-thumbnails'] ) { $_wp_theme_features['post-thumbnails'] = array( array( 'post', 'page', 'slide' ) ); }
I fixed it by declaring the post types that are supported:
add_theme_support('post-thumbnails', array( 'post', 'custom_type' ));
I hope this is helpful for anyone who may be having similar problems, or for plugin improvement
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Meteor Slides] custom posts thumbnail bug’ is closed to new replies.