Hi,
This may seem like a dumb question - but I can't seem to display the data typed into a custom post. If there an extra step to make that happen?!
Hi,
This may seem like a dumb question - but I can't seem to display the data typed into a custom post. If there an extra step to make that happen?!
I cannot get anything to display on a standard page.
Did you add output = true to the template for the items you want to display?
Ah, no I did not! Thanks a million!
Where do we do that?
In the actual template code. So, in his example code it would be:
[Plan]
type = text
size = 35
label = Where are you going to go?
output = true
I am new to this plugin, and use custom fields a lot.
So with the example above how would I go about displaying the outputter text as there is no key to select a certain field.
I would normally do this
get_post_custom_values('custom-text');
The example that I posted? The "key" is "plan". So you would output it with shortcode like so:
[cft key=Plan]
This doesn't work when putting it into the actually code php page.
I have tried finding a manual for the plugin, do you know of one?
This is a good article.
http://www.kevinleary.net/advanced-content-management-wordpress-custom-field-templates/
You don't put it into the actual code php page when you're using shortcodes - you have the users put it into your post content. If you want to do it via php code, then, yes, you'd use the get_custom_post_values('Plan') approach.
This topic has been closed to new replies.