Skip to content

A plugin for WordPress that provides widgets, shortcodes, and template tags to easily retrieve and display custom field values for posts or pages.

License

Notifications You must be signed in to change notification settings

coffee2code/get-custom-field-values

Repository files navigation

Get Custom Field Values

A plugin for WordPress that provides widgets, shortcodes, and template tags to easily retrieve and display custom field values for posts or pages.

This plugin can be found in the WordPress Plugin Directory: https://wordpress.org/plugins/get-custom-field-values/

Installation

  1. Install via the built-in WordPress plugin installer. Or install the plugin code inside the plugins directory for your site (typically /wp-content/plugins/).
  2. Activate the plugin through the 'Plugins' admin menu in WordPress
  3. 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
  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.

Additional Documentation

  • See readme.txt for additional usage information.
  • See DEVELOPER-DOCS.md for developer-related documentation on hooks, template tags, and shortcode.
  • See CHANGELOG.md for the list of changes for each release.

Support

Commercial support and custom development are not presently available. You can raise an issue on GitHub or post in the plugin's support forum on WordPress.org.

If the plugin has been of benefit to you, how about submitting a review for it in the WordPress Plugin Directory or considering a donation?

License

This plugin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

About

A plugin for WordPress that provides widgets, shortcodes, and template tags to easily retrieve and display custom field values for posts or pages.

Resources

License

Stars

Watchers

Forks

Packages

No packages published