Created
December 1, 2014 18:38
-
-
Save wpmark/aa92cc2ee556f7d7c9f0 to your computer and use it in GitHub Desktop.
Display Custom WP Post Type Meta Fields
This file contains 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
<?php | |
/* assuming your post type was named cpt_content */ | |
$option = get_option( ‘wpptm_meta’ ); | |
$option = $option[ ‘cpt_content_selectbox’ ]; | |
echo $option; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment