WordPress.org

Ready to get started?Download WordPress

Forums

WP Supersized
do not display featured image on slideshow (2 posts)

  1. puogintas
    Member
    Posted 1 year ago #

    is it possible of not displaying featured image in wp supersized slideshow? thank you

    http://wordpress.org/extend/plugins/wp-supersized/

  2. fzstudios
    Member
    Posted 1 year ago #

    Look for the images_from_wpgallery function within the WPSupersized.php file. Within that function you'll see a get_children array
    Exclude the get_post_thumbnail_id() at the end of the array, i.e.:

    $images = get_children(array( // gets images attached to the post/page
    		'post_parent'    => $postid,
    		'post_type'      => 'attachment',
    		'numberposts'    => -1, // show all
    		'post_status'    => null,
    		'post_mime_type' => 'image',
    		'exclude'     => get_post_thumbnail_id(),
                                    ));

    This worked for me.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic