Show Category Description in any Genesis child theme:
Displaying category description is not at all a bad idea,like the best social media website "Mashable".For each category, the description is must for better SEO purpose.
Like other WordPress themes, in Genesis child themes also we can show category description in easy way by adding the bit of code in to your child theme's functions.php file.
Go to Dashboard >Appearances > Editor >functions.php
To show category description in Genesis , add the below listed code in your Genesis child theme's functions.php file.
/** Show category descriptions */
function minimum_cat_description () {
if (is_category() ) {
echo category_description( $category-id );
}}
add_action( 'genesis_before_loop', 'minimum_cat_description');
See the result ,what happened after adding this code in our child theme.
Need Help
Category Description Genesis-We hope this simple genesis tutorial helped you learning how to display category description in any Genesis child theme.If you are facing any problem,then share your query in below comment box we will reply as early as possible.