Skip to content

Instantly share code, notes, and snippets.

@vfontjr
Last active December 14, 2018 09:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vfontjr/4aac6e454407f85daecd4daf99199185 to your computer and use it in GitHub Desktop.
Save vfontjr/4aac6e454407f85daecd4daf99199185 to your computer and use it in GitHub Desktop.
Add Outro text to category pages in Genesis
<?php
add_action( "genesis_after_loop", "display_category_outro");
function display_category_outro() {
if ( is_category() ) {
echo "test message for outro";
}
}
@vfontjr
Copy link
Author

vfontjr commented Nov 27, 2018

To learn more about the is_category() WordPress conditional tag, visit https://codex.wordpress.org/Conditional_Tags

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment