WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Details King Pro

Details King Pro allows you to create global values for your site as you need them

How To Use

Use Shortcodes

Shortcodes can be used in any page or post on your site. By default:

[dkp k="your-field-key"]

If you would like to display an error if the key is not found:

[dkp k="your-field-key" e=true]

To add this into a template, just use the "do_shortcode" function:

<?php if (function_exists('dkp_func')) echo do_shortcode("[dkp k='your-field-key']"); ?>

Of course, why do that when you have functions you can use: <?php the_dkp_field($field_key, $error); ?> This will print the value right there, or if you need to use the variable prior to printing it, use: <?php $value = get_dkp_field($field_key, $error); ?>

--

Having Trouble? Get support either on the support forums here or at @kingproplugins on Twitter, KingProPlugins on Facebook or King Pro Plugins on Google+

--

Requires: 3.0.1 or higher
Compatible up to: 3.7.1
Last Updated: 2013-11-22
Downloads: 173

Ratings

0 stars
0 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.