Created
August 28, 2014 19:17
-
-
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.
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 characters
/** 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