WordPress.org

Ready to get started?Download WordPress

Forums

remove thumbnail and "this gallery has 14 photos" from gallery post (3 posts)

  1. rileybetka
    Member
    Posted 1 year ago #

    So one of the moderators from this site helped me create a content-gallery.php so that I can use the gallery post type in twenty twelve - half the time it works fine and half of the time it gives me this irritating thumbnail below the featured image with the words "this gallery contains X amount of photos". I have no idea why this only happens half of the time but all I want it to show is the featured image (which we have turned into a link) that will take people to the gallery - seems simple enough - not sure why anyone would want an extra thumbnail and some text telling how many photos are in the gallery.

    I have pasted the contents of my content-gallery.php here:
    http://pastebin.com/9hsePuDH

    it looks to me like I can probably just cut some of that stuff out of the middle but I don't know PHP well enough to know which part to cut and which part to leave - thank you in advance for your help!

  2. rileybetka
    Member
    Posted 1 year ago #

    also my url is http://www.daily-mash.com if you want to see what I am talking about - thanks!

  3. rileybetka
    Member
    Posted 1 year ago #

    I decided to use the standard post format with the MORE tag - this solves my problem
    http://en.support.wordpress.com/splitting-content/more-tag/

    issue resolved

Topic Closed

This topic has been closed to new replies.

About this Topic