Last active
December 14, 2018 09:25
-
-
Save vfontjr/4aac6e454407f85daecd4daf99199185 to your computer and use it in GitHub Desktop.
Add Outro text to category pages in Genesis
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 | |
add_action( "genesis_after_loop", "display_category_outro"); | |
function display_category_outro() { | |
if ( is_category() ) { | |
echo "test message for outro"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To learn more about the is_category() WordPress conditional tag, visit https://codex.wordpress.org/Conditional_Tags