Support » Themes and Templates » remove thumbnail and "this gallery has 14 photos" from gallery post

  • 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!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘remove thumbnail and "this gallery has 14 photos" from gallery post’ is closed to new replies.