• Hi Guys,

    I need little help.
    I have 4 pages in my website and these page have featured image. Now, I want to show these 4 pages on my home page. For get idea about this question please click on this link to view image.

    Thank you. Anyone help here

Viewing 6 replies - 1 through 6 (of 6 total)
  • If I understand your question, adding this template tag to your index.php within an if is_home statement will add all of your featured images.

    <?php the_post_thumbnail( ); ?>

    Have a look at:
    the_post_thumbnail

    If you want a plugin solution, I’ve used Feature Posts Grid. There are others in the plugin repository.

    Err, sorry the tag would need to go in your page.php template with an if is_home statement.

    I want to show these 4 pages on my home page

    do you have a static home page, or is the home page the page with the posts?
    where exactly do you want to show the featured images of your pages?
    – in the header?
    – above or below the content?
    – in the sidebar?
    – instead of the content?

    what theme are you working with?

    Thread Starter Yeshan Perera

    (@yeshansachithak)

    I’m working with my own theme. I have static home page. And now I want to show my other 4 pages inside my homepage as a link. And my other home pages have featured image. So, Now I want to show those 4 featured images inside my home page. Please help here. I just show that above post my example link. Please see that and give me proper answer guys. Thanks!

    Thread Starter Yeshan Perera

    (@yeshansachithak)

    I have static home page in my wordpress site. And I’m working with my own theme.
    I create another Example image for make you easy to help me here. Please find this….. Link to Example Image.

    Thanks My Friends!

    Thread Starter Yeshan Perera

    (@yeshansachithak)

    I think no one here to resolve this problem.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to show all pages featured image in home page?’ is closed to new replies.