Use widgets, shortcodes, and/or template tags to easily retrieve and display custom field values for posts or pages.
As of April 2026, Get Custom Field Values is a WordPress meta plugin with 1.0K+ active installations and a 5/5 rating from 4 reviews. It has been downloaded 132K+ times in total. Requires WordPress 3.6+ and PHP false+. Available on WordPress.org since 2004. Last updated 2 years ago — may have compatibility concerns. Downloads are up 33% this week. Top alternative: Advanced Custom Fields (ACF®).
This plugin provides a powerful widget, shortcode (with shortcode builder tool), and template tags for easily retrieving and displaying custom field values for posts or pages.
The power of custom fields gives this plugin the potential to be dozens of plugins all rolled into one.
This plugin allows you to harness the power of custom fields/meta data. Use the “Get Custom Field” widget, the [custom_field] shortcode (which has a post editor sidebar widget to help you build the shortcode), or one of six template tags to retrieve and display custom fields. Find a custom field for the current post, a specified post, a recent post, or randomly. And for the custom field values found by the plugin, you may optionally specify text or HTML to appear before and after the results. If nothin…
thank you
Just simply highlight what you need from the custom field and add it to the post.
I used the Pods Template and doing great
How do I add a none text in the php template using this code <?php echo c2c_get_custom('Gallery'); ?>?
This is nested in the loop.
<ul id="gallery-container">
<?php
global $post;
$post_slug = get_the_title($post->post_parent);
$args = array ( 'category_name' => $post_slug, 'posts_per_page' => -1, 'orderby' => title, 'order' => ASC);
$myposts = get_posts( $args );
foreach( $myposts as $post ) : setup_postdata($post); ?>
<li data-id="<?php the_ID(); ?>">
<h3><?php the_title(); ?></h3>
<?php if (c2c_get_custom('Gallery')): ?>
<?php echo c2c_get_custom('Gallery'); ?>
<?php else : ?>
<?php endif; ?>
</li>
<?php wp_reset_postdata(); ?>
<?php endforeach; ?>
</ul>Thanks Scott, this one works the magic. Used it on WP3.5 and MU setup and works in loop without any issue. Perfect. very nicely coded. 10+
| WordPress | 3.6+ requiredTested up to 6.3.8 |
| PHP | false+ required |
Highlights:
This minor release prevents use of unsafe markup in widgets, improves documentation, improves unit testing, and notes compatibility through WP 6.3+.
Details:
show_metabox() only potentially returns true for post screensDEVELOPER-DOCS.mdDEVELOPER-DOCS.md…and 9 more changes
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.