Created
August 27, 2016 02:21
-
-
Save pradeepdotco/7e579f65aa45e3f0957d4086aba81dba to your computer and use it in GitHub Desktop.
Revisions
-
pradeepdotco created this gist
Aug 27, 2016 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ // Add Title and Description for WordPress category page add_action( 'genesis_before_loop', 'wpism_output_category_info' ); function wpism_output_category_info() { if ( is_category() || is_tag() || is_tax() ) { echo single_term_title(); echo term_description(); } }