Convert "current" as the current page ID when using the display posts shortcode to query custom fields.
Author: | Itamar Ostricher (profile at wordpress.org) |
WordPress version required: | 3.0 |
WordPress version tested: | 4.0 |
Plugin version: | 1.0 |
Added to WordPress repository: | 16-05-2014 |
Last updated: | 09-10-2014
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | https://github.com/itamaro/dps-currrent-page-... |
Total downloads: | 1 128 |
Active installs: | 10+ |
Click to start download |
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.