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:
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!
- The topic ‘remove thumbnail and "this gallery has 14 photos" from gallery post’ is closed to new replies.