Bring Your Business to Life › Support › Image Store › featured image
- AuthorPosts
- December 21, 2015 at 12:39 am #467870gockuParticipant
It’s possible to add a featured image on a gallery?
December 23, 2015 at 12:10 am #469025Xpark MediaKeymasterAdding a featured image to the gallery is not a problem, but it must be supported by the theme used in the site.
To add support for featured image use the “ims_gallery_post_type” filter in the functions.php file.
January 13, 2016 at 3:29 am #482818gockuParticipanthi, thank’s
i add the code in the functions.php but the featured image not appare, what i mistake?// Apply filter
function modify_ims_image_post_type( $image_type ) {
$image_type[‘menu_position’] = 10; // change menu position
return $image_type;
}
add_filter(‘ims_image_post_type’, ‘modify_ims_image_post_type’);January 13, 2016 at 3:51 am #482827gockuParticipanti add in the function this but not functionally
add_theme_support( ‘post-thumbnails’, array( ‘ims_gallery’ ) );
January 19, 2016 at 2:42 pm #488866gockuParticipanti solve modify the file core.php located in the image-store/_inc/
i change this
‘supports’ => array( ‘title’, ‘comments’, ‘author’, ‘excerpt’, ‘page-attributes’),
whit this
‘supports’ => array( ‘title’, ‘comments’, ‘author’, ‘excerpt’, ‘page-attributes’,’thumbnail’ ),
- AuthorPosts
- You must be logged in to reply to this topic.