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



1 Answer 1


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
    Commented Dec 23, 2012 at 17:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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