Created
October 28, 2015 02:01
-
-
Save reasonstousegenesis/2594bd4f6f6a277624f0 to your computer and use it in GitHub Desktop.
Add extra text before or after the post categories
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
<?php | |
// Paste the code BELOW this line into your child theme functions. | |
/** | |
* Add extra text before or after the post categories | |
* | |
* @author Reasons to Use Genesis | |
* @link http://reasonstousegenesis.com/list-categories/ | |
*/ | |
add_filter( 'genesis_post_info', 'rtug_category_list_before_after' ); | |
function rtug_category_list_before_after() { | |
return '[post_categories before="Categorized: " after="."]'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment