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/
- Install via the built-in WordPress plugin installer. Or install the plugin code inside the plugins directory for your site (typically
/wp-content/plugins/). - Activate the plugin through the 'Plugins' admin menu in WordPress
- Optional: Add filters for
the_metato 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 hookingthe_meta_$field - Give post(s) a custom field with a value.
- Optional: Go to the Appearance -> Widgets admin page to create one or more 'Get Custom Field' sidebar widgets for your widget-enabled theme.
- 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.
- 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.
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?
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.