Skip to content

Instantly share code, notes, and snippets.

@davechu
Created August 28, 2014 19:17
Show Gist options
  • Save davechu/7bcb5f2ee922d055e0e5 to your computer and use it in GitHub Desktop.
Save davechu/7bcb5f2ee922d055e0e5 to your computer and use it in GitHub Desktop.
Showing a custom field in Genesis below regular content, but above the Post Meta. The priority moves it up.
/** display custom field - simple method **/
add_action( 'genesis_entry_footer', 'dc_quickie_custom_field', 1 );
function dc_quickie_custom_field() {
if ( genesis_get_custom_field('poop') ) {
echo genesis_get_custom_field('poop');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment