Last active
September 29, 2020 17:29
-
-
Save qstudio/93ae78912f4d4ef558f5ee15b5243c2e to your computer and use it in GitHub Desktop.
This file contains 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 | |
if ( have_posts() ) : | |
while ( have_posts() ) : the_post(); | |
the_title( '<h2>', '</h2>' ); | |
the_post_thumbnail(); | |
the_excerpt(); | |
endwhile; | |
else: | |
_e( 'Sorry, no posts matched your criteria.', 'textdomain' ); | |
endif; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment