Is it possible to show thumbnails along with recent post from a wordpress blog on static website’s homepage?
Updated answer below <?php define(‘WP_USE_THEMES’, false); require(‘blog/wp-blog-header.php’); ?> <div class=”row row-60 row-sm”> <?php $args = array( ‘numberposts’ => 3, ‘post_status’=>”publish”,’post_type’=>”post”,’orderby’=>”post_date”); $postslist = get_posts( $args ); foreach ($postslist as $post) : setup_postdata($post);?> <div class=”col-sm-6 col-lg-4 wow fadeInLeft”> <!– Post Modern–> <article class=”post post-modern”><a class=”post-modern-figure” href=”https://wordpress.stackexchange.com/questions/316782/<?php the_permalink( $post->ID ); ?>” target=”_top”> <?php echo get_the_post_thumbnail( $post->ID ); ?> … Read more