Hi Anthony,
Thank you for using my plugin and I apologize for the trouble. I’m not aware of any issues w/ the latest versions of my plugin and WordPress. Did you update any other plugins at the same time? Is it possible to disable the other plugins one at a time and see which one may be causing the trouble?
Hi,
Actually I recently updated some plugins, but it seems that desactivate them one at a time does not change anything in the portfolio admin page…
Hi,
Sorry for the delay… Have you tried switching themes?
Don’t care about the delay!
So, it rules with Twenty Fifteen theme.
The starter theme I use was generated on http://underscores.me/.
No difference if I restore this theme without any of my own customization: the featured image box is still missing on the portfolio admin page.
By the way, here is the website we are talking about: http://www.anthonyrageul.net/
hmm… I’ve tested the plugin with the Twenty* themes as well as genesis but not underscores. Can you add the following to your current theme’s functions.php file?
add_action( 'after_setup_theme', 'arconix_add_post_thumbnail_support' );
function arconix_add_post_thumbnail_support() {
global $_wp_theme_features;
if( !isset( $_wp_theme_features['post-thumbnails'] ) ) {
$_wp_theme_features['post-thumbnails'] = array( array( 'portfolio' ) );
}
elseif( is_array( $_wp_theme_features['post-thumbnails'] ) ) {
$_wp_theme_features['post-thumbnails'][0][] = 'portfolio';
}
}
It works good! Thanks!
Will you correct this problem in a next release of arconix portfolio?
It’s funny because that code was actually a workaround I had in place for before featured image support could be added when the post_type (portfolio) was registered in WordPress. Once that was support could be handled natively by WordPress it was supposed to have made my workaround unnecessary. I confirmed by testing with Genesis and the Twenty* themes and removed the code. Evidently that workaround is still needed in some cases so I will be adding that back in for the next version. Thank you for your help in getting this resolved.
You’re welcome! Portfolio plug-in is great!