-
-
Save hellofromtonya/d50bd23fa583a9cc25ce437ea9926cf8 to your computer and use it in GitHub Desktop.
Genesis After Entry Event
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
function genesis_standard_loop() { | |
... | |
if ( have_posts() ) : | |
do_action( 'genesis_before_while' ); | |
while ( have_posts() ) : the_post(); | |
do_action( 'genesis_before_entry' ); | |
printf( '<article %s>', genesis_attr( 'entry' ) ); | |
... | |
echo '</article>'; | |
do_action( 'genesis_after_entry' ); | |
endwhile; //* end of one post | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment