You can use dynamic placeholders in many places of field options. They work similarly to Dynamic Fields but can be used in a specific area for faster control and complex queries.

Supported areas:

  1. Dynamic Styles
  2. Dynamic Attributes
  3. API Connector

Just drop them in any of the fields in mentioned areas

Screenshot

We are constantly updating it, so you can expect more and more options.

You can use several placeholders in the same field.

Common Placeholders:

• {{POST_ID}} – Inserts the unique ID of the current post.

• {{POST_TITLE}} – Displays the title of the current post.

• {{POST_URL}} – Generates the URL of the current post.

• {{AUTHOR_ID}} – Retrieves the ID of the post’s author.

• {{AUTHOR_NAME}} – Shows the name of the post’s author.

• {{CURRENT_USER_ID}} – Inserts the ID of the currently logged-in user.

• {{CURRENT_USER_NAME}} – Displays the username of the currently logged-in user.

Object-Related Placeholders:

• {{CURRENT_OBJECT_ID}} – Returns the ID of the currently active object (e.g., a post, page, or custom taxonomy).

• {{CURRENT_OBJECT_NAME}} – Retrieves the name of the current object.

Custom Data & Metadata:

• {{META:meta_key}} – Fetches a custom field value using its meta key.

• {{TERM_META:meta_key}} – Retrieves metadata associated with a taxonomy term.

• {{USER_META:meta_key}} – Retrieves metadata related to a current user.

Settings & External Data:

• {{SETTING:option_name}} – Gets a value from WordPress settings (get_option).

• {{COOKIE:cookie_name}} – Fetches the value of a browser cookie.

Request Data:

• {{GET:get_name}} – Retrieves a value from the URL query parameters (e.g., ?get_name=value).

Randomized Values:

• {{RANDOM:0-100}} – Generates a random number within a specified range.

• {{RANDOM:red|blue|green}} – Selects a random value from a predefined set.

Form Data:

• {{FORM:name}} – Used only in API Connector when you select Dynamic Call from Form data. You can retrieve specific form data. Please read the details in API Connector

• {{INCREMENT:1}} – Used only in API Connector when you select Dynamic Loop Call from Form data.

Copy this post’s content
<!-- wp:paragraph -->
<p><span style="box-sizing: border-box; margin: 0px; padding: 0px;">You can use dynamic placeholders in many places of field options. They work similarly to <a href="https://greenshiftwp.com/dynamic-fields/" target="_blank">Dynamic Fields</a> but can be used in a </span>specific area for faster control and complex queries.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Supported areas:</p>
<!-- /wp:paragraph -->

<!-- wp:list {"ordered":true} -->
<ol class="wp-block-list"><!-- wp:list-item -->
<li><a href="https://greenshiftwp.com/dynamic-styles/" data-type="post" data-id="5565">Dynamic Styles</a></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><a href="https://greenshiftwp.com/dynamic-attributes/" data-type="post" data-id="5067">Dynamic Attributes</a></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><a href="https://greenshiftwp.com/api-connector/" data-type="post" data-id="5574">API Connector</a></li>
<!-- /wp:list-item --></ol>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>Just drop them in any of the fields in mentioned areas</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":5585,"width":"300px","sizeSlug":"large","linkDestination":"none","className":"is-style-default","style":{"border":{"radius":"10px"}}} -->
<figure class="wp-block-image size-large is-resized has-custom-border is-style-default"><img src="https://greenshiftwp.com/wp-content/uploads/2025/02/[email protected]" alt="" class="wp-image-5585" style="border-radius:10px;width:300px"/><figcaption class="wp-element-caption">Screenshot</figcaption></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>We are constantly updating it, so you can expect more and more options.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>You can use several placeholders in the same field.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>Common Placeholders:</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>• {{POST_ID}} – Inserts the unique ID of the current post.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>• {{POST_TITLE}} – Displays the title of the current post.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>• {{POST_URL}} – Generates the URL of the current post.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>• {{AUTHOR_ID}} – Retrieves the ID of the post’s author.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>• {{AUTHOR_NAME}} – Shows the name of the post’s author.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>• {{CURRENT_USER_ID}} – Inserts the ID of the currently logged-in user.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>• {{CURRENT_USER_NAME}} – Displays the username of the currently logged-in user.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>Object-Related Placeholders:</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>• {{CURRENT_OBJECT_ID}} – Returns the ID of the currently active object (e.g., a post, page, or custom taxonomy).</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>• {{CURRENT_OBJECT_NAME}} – Retrieves the name of the current object.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>Custom Data & Metadata:</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>• {{META:meta_key}} – Fetches a custom field value using its meta key.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>• {{TERM_META:meta_key}} – Retrieves metadata associated with a taxonomy term.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>• {{USER_META:meta_key}} – Retrieves metadata related to a current user.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>Settings & External Data:</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>• {{SETTING:option_name}} – Gets a value from WordPress settings (get_option).</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>• {{COOKIE:cookie_name}} – Fetches the value of a browser cookie.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>Request Data:</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>• {{GET:get_name}} – Retrieves a value from the URL query parameters (e.g., ?get_name=value).</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>Randomized Values:</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>• {{RANDOM:0-100}} – Generates a random number within a specified range.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>• {{RANDOM:red|blue|green}} – Selects a random value from a predefined set.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong>Form Data:</strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>• {{FORM:name}} – Used only in API Connector when you select Dynamic Call from Form data. You can retrieve specific form data. Please read the details in <a href="https://greenshiftwp.com/api-connector/" data-type="post" data-id="5574">API Connector</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>• {{INCREMENT:1}} – Used only in API Connector when you select Dynamic Loop Call from Form data. </p>
<!-- /wp:paragraph -->
«
»