GPP Slideshow, Thumbnails and Featured Image

andrea diaz's Avatar

andrea diaz

08 Sep, 2011 07:55 AM

Hi. I am using the GPP Slideshow plugin with Widescreen and I wanted to use an image for the Featured Image for a post but do not it to be included in the Gallery. Would you help direct me on how to remove the Featured Image from the gallery?

Thank you!

Featured Image Here
http://diazvaughn.com/testsite/category/work/branding/

Gallery Here
http://diazvaughn.com/testsite/gpp-slideshow/

  1. Support Staff 2 Posted by Rick Alday on 08 Sep, 2011 04:49 PM

    Rick Alday's Avatar

    Hi Andrea,
    you're going to do a bit of hacking for that.
    Open gpp-slideshow/gpp_functions.php and locate this block of code:

    extract(shortcode_atts(array(
        'order'      => 'ASC',
        'orderby'    => 'menu_order ID',
        'id'         => $post->ID,      
        'columns'    => 3,
        'size'       => 'thumbnail-50',
        'include'    => '',
        'exclude'    => ''
    

    change that last line from:

    'exclude'    => ''
    

    to

    'exclude'    => get_post_thumbnail_id()
    

    Remember to reapply this change when you update the plugin.

  2. 3 Posted by andrea diaz on 08 Sep, 2011 10:10 PM

    andrea diaz's Avatar

    Thanks, Ricardo! It worked!

  3. andrea diaz closed this discussion on 08 Sep, 2011 10:10 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac