Skip to content

Instantly share code, notes, and snippets.

@ABooooo
Created August 19, 2014 07:25
Show Gist options
  • Save ABooooo/3a7d2407a261ebb0ba0c to your computer and use it in GitHub Desktop.
Save ABooooo/3a7d2407a261ebb0ba0c to your computer and use it in GitHub Desktop.
Add custom field to post
echo get_post_meta($post->ID, 'customFieldName', true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment