Created
April 10, 2019 05:08
-
-
Save feliciaceballos/040f4b6f5a90d4b1f2d565df8cf5f166 to your computer and use it in GitHub Desktop.
Basic WordPress Loop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
get_header(); | |
if (have_posts()) : | |
while (have_posts()) : | |
the_post(); ?> | |
<h1><?php the_title() ;?></h1> | |
<?php | |
the_post_thumbnail( 'featured-large' ); | |
the_content(); | |
endwhile; | |
endif; | |
get_sidebar(); | |
get_footer(); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment