Last active
November 18, 2019 05:23
-
-
Save shrinkray/b88ffa8742c5fba38448015aad615414 to your computer and use it in GitHub Desktop.
The have_posts() call
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
| /** | |
| * Some Templates are found to be missing this loop call and the pages return empty | |
| */ | |
| <?php | |
| if (have_posts()) : while (have_posts()) : the_post(); | |
| get_header(); | |
| ?> | |
| <? the_content() ?> | |
| <?php | |
| endwhile; | |
| endif; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment