Last active
December 31, 2018 05:31
-
-
Save braddalton/5432602 to your computer and use it in GitHub Desktop.
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 display_category_archives_description () { | |
if (is_category() ) { | |
echo category_description( $category-id ); | |
}} | |
add_action( 'genesis_before_loop', 'display_category_archives_description'); | |
/** | |
* @author Brad Dalton - WP Sites | |
* | |
* @link http://wpsites.net/web-design/display-image-on-all-category-pages/ | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How can I restrict the description to show only on first pages of the archives?