Reputation: 1
I am making a wordpress theme But the problem is i can not enable feature image option in Portfolio I have added the following code in the function.php add_theme_support( "post-thumbnails", array('portfolio', 'post'));
This code is working for posts but not for portfolio
is it because of any of these plugins that i am using
Advanced Custom Fields Custom Post Type UI Akismet
Upvotes: 0
Views: 47
Reputation:
try this in fucntion.php file
function custom_theme_setup() {
add_theme_support( 'post-thumbnails', array('post', 'page', 'popup') );
}
add_action( 'after_setup_theme', 'custom_theme_setup');
Upvotes: 3