Ever wanted a better way to add custom fields? Wanted to add really usable and good custom field meta box so that your client is happy? Well then Verve Meta Box plugin is your answer. It's very easy to use and best one out there for the purpose.
Verve Meta Boxes allows for creation of text, textarea, image, file, date, time, datetime, select, radio, and checkbox custom fields for posts and/or pages.
Values for custom fields are stored in wp_postmeta and can be accessed in templates through standard WordPress functions such as: the_meta, get_post_meta, get_post_custom, get_post_custom_values, etc.
Once installed, it adds a configuration screen to your admin page which will be located under Tools in the left navigation. There you can create multiple meta boxes each with a set of user defined drag and drop sortable custom fields.
Modify it to what name you have given for the custom field. And please do note that this will always be lowercase and if you have used any space, replace it with an underscore.
Verve Meta Boxes allows for creation of text, textarea, image, file, date, time, datetime, select, radio, and checkbox custom fields for posts and/or pages.
A Meta Box added by the Plugin |
Values for custom fields are stored in wp_postmeta and can be accessed in templates through standard WordPress functions such as: the_meta, get_post_meta, get_post_custom, get_post_custom_values, etc.
Once installed, it adds a configuration screen to your admin page which will be located under Tools in the left navigation. There you can create multiple meta boxes each with a set of user defined drag and drop sortable custom fields.
The Admin Panel added by the Plugin |
Getting the values on to the template:
Getting the values submitted in the custom field straight forward and easy. Just add this in you loop:
$place=get_post_custom_values('place');
echo $place[0];
Modify it to what name you have given for the custom field. And please do note that this will always be lowercase and if you have used any space, replace it with an underscore.
Have you used any other plugins that is better or what do you think of this plugin. Please do let us know using the comment form.
Comments
Post a Comment