Showing thumbnails on related post in page (3 posts)

  1. stoicshohag
    Posted 2 years ago #

    Hello guys,

    I want to show thumbnail in related post. I've made page template using this code below.


    <div class="related-post">
    <h2>here is latest post about bali</h2>
    $catquery = new WP_Query( 'cat=2&posts_per_page=4' );
    while($catquery->have_posts()) : $catquery->the_post();
    <h3><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
    <?php endwhile; ?>

    P.S. I'm using Genesis framework.

    Any help?

    Thanks in advance.


  2. Andrew
    Forum moderator
    Posted 2 years ago #

    We don't support commercial themes, so there's not much we can do for you but recommend you use a theme distributed here to be viable for support here.

    Otherwise please contact your theme's vendors regarding this.

  3. Michael
    Part-Time Forum Moderator
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic