Skip to content

Instantly share code, notes, and snippets.

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