Support » Plugins » Custom Field Template

  • Hello,
    Can somebody explain to me how the short code [cft] works. It looks very simple but I don’t understand.
    Now i use get_post_meta in the single.php but i’m sure [cft] is better.
    Thanks for your help

Viewing 1 replies (of 1 total)
  • Not sure what you are asking when you ask “how the short code [cft] works”. If the Custom Post Template plugin is activated then when that shortcode is encountered the plugin causes the output_custom_field_values function to execute. That function uses a combination of code including get_post_custom to display the custom fields. Look at that plugin’s code to see the real details.

    See Custom Fields for more ideas.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Field Template’ is closed to new replies.