WordPress meta-box and checkbox-list

The issue is probably with the $single parameter of get_post_meta function. Try setting it to false or delete it. Codex Link Then, $omc_os_poker_room = get_post_meta(get_the_ID(), ‘omc_os_poker_room’); echo ‘<p class=”omc-info-one”><b>OS: ‘.$omc_os_poker_room[1].'</b>’; Not tested, but should work.

Post Excerpt field only showing for default administrator

To correctly show the Excerpt meta box for Custom Post types you should use the supports property register_post_type. Supported values are as follows, and I suggest referring to the register_post_type Function Reference for more details – ‘title’ ‘editor’ (content) ‘author’ ‘thumbnail’ (featured image, current theme must also support post-thumbnails) ‘excerpt’ ‘trackbacks’ ‘custom-fields’ ‘comments’ (also will … Read more

Meta Tags by Meta Box

This is really just a PHP question, but since there is no Core function to do this… I’d use !empty(). Otherwise just echo a string. $mcontent = get_post_meta($post->ID, “vw_citation_title”, true); if(!empty($mcontent)) { echo ‘<meta name = “citation_title” content = “”.$mcontent.'” >’; }

Meta box not appearing in my custom post type

The last two parameters in add_meta_box() are switched. Look at the code in the tutorial next to yours: // tutorial code add_meta_box(‘wpt_events_location’, ‘Event Location’, ‘wpt_events_location’, ‘events’, ‘side’, ‘default’); // your code add_meta_box( ‘linkToArcticle’, ‘Link to arcticle’, ‘linkToArcticle’, ‘arcticles’, ‘default’, ‘normal’ ); Change it to: add_meta_box( ‘linkToArcticle’, ‘Link to arcticle’, ‘linkToArcticle’, ‘arcticles’, ‘normal’, ‘default’ ); And … Read more