Convert "current" as the current page ID when using the display posts shortcode to query custom fields.
As of April 2026, Display Posts Shortcode, Current Page Custom Field Add-On is a WordPress list plugin with 10 active installations and a 0/5 rating0. It has been downloaded 1.6K+ times in total. Requires WordPress 3.0+ and PHP false+. Available on WordPress.org since 2014. Last updated 11 years ago — may have compatibility concerns. Top alternative: List category posts.
Usage:
When using the display-posts shortcode plugin with the meta_key="custom_field_name" and meta_value="current" to list all posts that have the ID of the current page as the value of the specified custom field, add the meta_is_id="true" to convert “current” to the correct ID.
| WordPress | 3.0+ requiredTested up to 4.0.38 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.