I am working on twenty twelve theme. Whenever I post an image gallery, it shows all of images including featured image on front page same as it looks inside. I wanted it to just show featured image on home page instead of showing all. I tried but no success. Any help appreciated!!



You need to porvide more info, such as what you have tried so far.

have you used the_post_thumbnail function?


  • I tried to find the code responsible for this, but I couldn't. But I'm sure that it is in functions.php. Maybe I can make a function to do this job, override the previous function responsible for displaying gallery on front page. Should I paste that code from functions.php on pastebin?? – busyjax Dec 23 '12 at 17:10

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.