Revision: 34691
Updated Code
at October 27, 2010 05:34 by Savio
Updated Code
// Syntax for custom field call // <?php get_post_meta($post_id, '$key', $single); ?> // Example, First set Custom Field in "Create Post" or use "Custom Field Template"-Plugin. In this case I create the field "CustomPower". Then call the field via get_post_meta. Easy :) // <p class="whatever"><?php echo get_post_meta($post->ID, 'customPower', true); ?></p>
Revision: 34690
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 27, 2010 05:32 by Savio
Initial Code
// Syntax for custom field call // <?php get_post_meta($post_id, '$key', $single); ?> // Example, First set Custom Field in "Create Post" or use "Custom Field Template"-Plugin. Then call the field. Easy :) // <p class="whatever"><?php echo get_post_meta($post->ID, 'customPower', true); ?></p>
Initial URL
Initial Description
Initial Title
Custom Fields in Wordpress
Initial Tags
wordpress
Initial Language
PHP