WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Get Custom Field Values

Use widgets, shortcodes, and/or template tags to easily retrieve and display custom field values for posts or pages.

  1. Unzip get-custom.zip inside the /wp-content/plugins/ directory (or install via the built-in WordPress plugin installer)
  2. (optional) Add filters for 'the_meta' to filter custom field data (see the end of the plugin file for commented out samples you may wish to include). And/or add per-meta filters by hooking 'the_meta_$field'
  3. Activate the plugin through the 'Plugins' admin menu in WordPress
  4. Give post(s) a custom field with a value.
  5. (optional) Go to the Appearance -> Widgets admin page to create one or more 'Get Custom Field' sidebar widgets for your widget-enabled theme.
  6. (optional) Use one of the six template functions provided by this plugin to retrieve the contents of custom fields. You must 'echo' the result if you wish to display the value on your site.

Requires: 2.8 or higher
Compatible up to: 3.8.3
Last Updated: 2014-1-17
Downloads: 82,683

Ratings

4 stars
4.7 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.

100,1,1
75,4,3
100,1,1
100,2,2
100,4,4
100,1,1
100,2,2
50,2,1
50,2,1
0,1,0
0,2,0 33,3,1
0,2,0
100,2,2
100,1,1
100,2,2
0,1,0
100,2,2