Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Owner

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