Skip to content

Instantly share code, notes, and snippets.

@vfontjr
Last active December 14, 2018 09:25
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
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