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
Manu
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
Manu
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.
This topic has been closed to new replies.