Created
April 23, 2020 17:03
-
-
Save wpjess/14fcbd5155246c51d6d93055f5d2e76f to your computer and use it in GitHub Desktop.
WP standard loop
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(); ?> | |
<?php | |
$title = get_post_meta($post->ID, 'page_title', true); | |
?> | |
<?php endwhile; endif; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment