WordPress.org

Ready to get started?Download WordPress

Forums

Excluding image from gallery (6 posts)

  1. dinosauuur
    Member
    Posted 2 years ago #

    Im using Gallery Shortcode and i want to exclude the first photo from the gallery (because its a thumb ...) how can i do that ? i tryed with [gallery exclude="1"] but it doesnt work :(.

  2. chadrew
    Member
    Posted 2 years ago #

    Exactly as you said, but you have to use the attachment ID of your photo.

  3. dinosauuur
    Member
    Posted 2 years ago #

    where can i find the id ?

  4. chadrew
    Member
    Posted 2 years ago #

    You can see it in the URL when mousing over the Edit link in the Media Library. I am not sure if there's a better/easier way.

  5. dinosauuur
    Member
    Posted 2 years ago #

    ok tnx it works now :D
    but i have a new problem...
    i have several gallerys and in every gallery i dont want to display the first photo. how can i do that ?

  6. dinosauuur
    Member
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic