Skip to content

Instantly share code, notes, and snippets.

@rahuladams
Last active June 19, 2020 11:33
Show Gist options
  • Save rahuladams/dec0b55d648d81e5971ce40b2049bdfe to your computer and use it in GitHub Desktop.
Save rahuladams/dec0b55d648d81e5971ce40b2049bdfe to your computer and use it in GitHub Desktop.
// Get featured image
<?php get_the_post_thumbnail_url(); ?>
// Content loop
<?php while (have_posts()) : the_post(); ?>
<?php the_content(); ?>
<?php endwhile; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment