Skip to content

Instantly share code, notes, and snippets.

@reasonstousegenesis
Created October 28, 2015 02:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reasonstousegenesis/2594bd4f6f6a277624f0 to your computer and use it in GitHub Desktop.
Save reasonstousegenesis/2594bd4f6f6a277624f0 to your computer and use it in GitHub Desktop.
Add extra text before or after the post categories
<?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