featured image

HomeSupportImage Storefeatured image

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #467870
    gocku
    Participant

    It’s possible to add a featured image on a gallery?

    #469025
    Xpark Media
    Keymaster

    @gocku,

    Adding 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.

    #482818
    gocku
    Participant

    hi, 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’);

    #482827
    gocku
    Participant

    i add in the function this but not functionally

    add_theme_support( ‘post-thumbnails’, array( ‘ims_gallery’ ) );

    #488866
    gocku
    Participant

    i 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’ ),

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.