Support » Plugin: Custom Field Template » [Plugin: Custom Field Template] How do I display the custom fields in my template ???

Viewing 1 replies (of 1 total)
  • Custom Fields is another name for post meta. The CFT is just a fancier interface for standard WordPress Post Meta.

    You can look here how to retrieve the values:
    http://codex.wordpress.org/Function_Reference/get_post_meta

    e.g.

    CFT template code in the wordpress backend
    [your field]
    type = text
    label = some label
    on your template files somewhere e.g. page.php:
    <?php echo get_post_meta( $post->ID, 'your field', true ); ?>

    Have fun.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Custom Field Template] How do I display the custom fields in my template ???’ is closed to new replies.