Skip to main content
All CollectionsDynamic ShortcodesIntegrations
Differences between the Dynamic Shortcodes plugin and the Dynamic Data feature in Bricks
Differences between the Dynamic Shortcodes plugin and the Dynamic Data feature in Bricks
Updated over a week ago

Page Builders

Dynamic Shortcodes

Dynamic Data

Bricks, Elementor, Elementor Pro, Gutenberg (beta), FSE (beta), Oxygen, Breakdance, Classic Editor

Bricks

Post Fields

Dynamic Shortcodes

Dynamic Data

Retrieve a Post Field

🟒
​{post:field-name}

🟒

Fallback Value

🟒
​{post:field-name?'Another value'}

🟒

Add a Filter

🟒
You can use any PHP function
​{post:title|strtoupper}
​
You can also apply as many filters as you like
​{post:title|strtoupper|substr(0,7)}

🟑
Limited to some filters. You can only apply one filter at a time.

Retrieve the field from another ID

🟒
​{post:title @ID=23}

πŸ”΄

Dynamic values can be used within other Dynamic values

🟒
​{post:title @ID={acf:field}}

πŸ”΄

Arithmetic calculations

🟒
​{+:{post:field-one} {post:field-two}}
Sum the first and second fields

πŸ”΄

Conditions

🟒
​{if:{post:coupon-is-active} 'The code is ABC' 'No coupon available'}

πŸ”΄

Cache the result

🟒
​{cache:my-field {post:field-name}}

πŸ”΄

Date

Dynamic Shortcodes

Dynamic Data

Current Date

🟒
​{date:now}

🟒

Past Date

🟒
​{date:'- 1 week'}

πŸ”΄

Future Date

🟒
​{date:'+ 2 hours'}

πŸ”΄

Format Date

🟒
​{date:now @format='Ymd'}

🟒

Dynamic values can be used within other Dynamic values

🟒
​{date:{post:date-modified} @format='Ymd'}

πŸ”΄

Calculations between dates

🟒
​{date:{acf:start_date} @ sub={timedelta:@days=1 hours=2}}
Remove '1 day and 2 hours' from the start_date field

πŸ”΄

Date Comparisons

🟒

{if:{gt:{date:{acf:start_date}@fmt=U} {date:now@fmt=U}}

[Registration opens on {acf:start_date}]

}

πŸ”΄

User Fields

Dynamic Shortcodes

Dynamic Data

Retrieve a User Field

🟒
​{user:field-name}

🟒

Fallback Value

🟒
​{user:field-name?'Another value'}

🟒

Add a Filter

🟒
You can use any PHP function
​{user:display_name|strtoupper}
​
You can also apply as many filters as you like
​{user:display_name|strtoupper|substr(0, 7)}

🟑
Limited to some filters. You can only apply one filter at a time.

Retrieve the field from another ID

🟒
​{user:display_name @ID=23}

πŸ”΄

Dynamic values can be used within other Dynamic values

🟒
​{user:display_name @ID={acf:field}}

πŸ”΄

Arithmetic calculations

🟒
​{+:{user:field-one} {user:field-two}}
Sum the first and second fields

πŸ”΄

Conditions

🟒
​{if:{user:vip} '20% discount for you'}

πŸ”΄

Cache the result

🟒
​{cache:my-field {user:field-name}}

πŸ”΄

Media

Dynamic Shortcodes

Dynamic Data

Retrieve a Media field

🟒
​{media:description @ID=23}

πŸ”΄ Not available

Fallback Value

🟒
​{media:description @ID=23?'Another value'}

πŸ”΄ Not available

Dynamic values can be used within other Dynamic values

🟒
​{media:image @ID={post:featured-image-id}}

πŸ”΄ Not available

Term Fields

Dynamic Shortcodes

Dynamic Data

Retrieve a Term Field

🟒
​{term:field-name}

🟒

Fallback Value

🟒
​{term:field-name?'Another value'}

🟒

Add a Filter

🟒
You can use any PHP function
​{term:name|strtoupper}
​
You can also apply as many filters as you like
​{term:name|strtoupper|substr(0, 7)}

🟑
Limited to some filters. You can only apply one filter at a time.

Retrieve the field from another ID

🟒
​{term:name @ID=23}

πŸ”΄

Dynamic values can be used within other Dynamic values

🟒
​{term:name @ID={acf:field}}

πŸ”΄

Arithmetic calculations

🟒
​{+:{term:field-one} {term:field-two}}
Sum the first and second fields

πŸ”΄

Conditions

🟒
​{if:{term:discount} '20% OFF'}

πŸ”΄

Cache the result

🟒
​{cache:my-field {term:field-name}}

πŸ”΄

Option/Site Fields

Dynamic Shortcodes

Dynamic Data

Retrieve an Option Field

🟒
​{option:name}

🟑
Limited to some 'site' fields

Fallback Value

🟒
​{option:name?'Another value'}

🟒

Add a Filter

🟒
You can use any PHP function
​{option:name|strtoupper}
​
You can also apply as many filters as you like
​{option:name|strtoupper|substr(0, 7)}
​

🟑
Limited to some filters. You can only apply one filter at a time.

Arithmetic calculations

🟒
​{+:{option:name-one} {acf:field}}
Sum two fields, even with different shortcodes

πŸ”΄

Conditions

🟒
​{if:{option:discount} '20% OFF'}

πŸ”΄

Cache the result

🟒
​{cache:my-option {option:name}}

πŸ”΄

Advanced Custom Fields

Dynamic Shortcodes

Dynamic Data

Retrieve a Field

🟒
​{acf:field-name}

🟒

Fallback Value

🟒
​{acf:field?'Another value'}

🟒

Add a Filter

🟒
You can use any PHP function
​{acf:field|strtoupper}
​
You can also apply as many filters as you like
​{acf:field|strtoupper|substr(0, 7)}

🟑
Limited to some filters. You can only apply one filter at a time.

Retrieve the field from another ID

🟒
​{acf:field @ID=23}

πŸ”΄

Retrieve the Field from user

🟒
​{acf:field @user}

πŸ”΄

Retrieve the field from term

🟒
​{acf:field @term}

πŸ”΄

Retrieve the field from option

🟒
​{acf:field @option}

πŸ”΄

ACF Loop for ACF Repeater, Flexible Content

🟒
​{acf-loop:repeater-name {acf:field}}

πŸ”΄

Dynamic values can be used within other Dynamic values

🟒
​{acf:{param-get:field-selected}}

πŸ”΄

Arithmetic calculations

🟒
​{+:{acf:field-one} {acf:field-two}}
Sum the first and second fields

πŸ”΄

Conditions

🟒
​{if:{acf:discount} '20% OFF'}

πŸ”΄

Cache the result

🟒
​{cache:my-field {acf:name}}

πŸ”΄

JetEngine

Dynamic Shortcodes

Dynamic Data

Retrieve a Field

🟒
​{jet:field-name}

🟒

Fallback Value

🟒
​{jet:field?'Another value'}

🟒

Add a Filter

🟒
You can use any PHP function
​{jet:field|strtoupper}
​
You can also apply as many filters as you like
​{jet:field|strtoupper|substr(0, 7)}

🟑
Limited to some filters. You can only apply one filter at a time.

Retrieve the field from another ID

🟒
​{jet:field @ID=23}

πŸ”΄

Dynamic values can be used within other Dynamic values

🟒
​{jet:field @ID={jet:another-field}}

πŸ”΄

Arithmetic calculations

🟒
​{+:{jet:field-one} {jet:field-two}}
Sum the first and second fields

πŸ”΄

Conditions

🟒
​{if:{jet:discount} '20% OFF'}

πŸ”΄

Cache the result

🟒
​{cache:my-field {jet:name}}

πŸ”΄

MetaBox

Dynamic Shortcodes

Dynamic Data

Retrieve a Field

🟒
​{metabox:field-name}

🟒

Fallback Value

🟒
​{metabox:field?'Another value'}

🟒

Add a Filter

🟒
You can use any PHP function
​{metabox:field|strtoupper}
​
You can also apply as many filters as you like
​{metabox:field|strtoupper|substr(0, 7)}

🟑
Limited to some filters. You can only apply one filter at a time.

Retrieve the field from another ID

🟒
​{metabox:field @ID=23}

πŸ”΄

Dynamic values can be used within other Dynamic values

🟒
​{metabox:field @ID={metabox:another-field}}

πŸ”΄

Arithmetic calculations

🟒
​{+:{metabox:field-one} {metabox:field-two}}
Sum the first and second fields

πŸ”΄

Conditions

🟒
​{if:{metabox:discount} '20% OFF'}

πŸ”΄

Cache the result

🟒
​{cache:my-field {metabox:name}}

πŸ”΄

Toolset

Dynamic Shortcodes

Dynamic Data

Retrieve a Field

🟒
​{toolset:field-name}

🟒

Fallback Value

🟒
​{toolset:field?'Another value'}

🟒

Add a Filter

🟒
You can use any PHP function
​{toolset:field|strtoupper}
​
You can also apply as many filters as you like
​{toolset:field|strtoupper|substr(0, 7)}

🟑
Limited to some filters. You can only apply one filter at a time.

Retrieve the field from another ID

🟒
​{toolset:field @ID=23}

πŸ”΄

Dynamic values can be used within other Dynamic values

🟒
​{toolset:field @ID={toolset:another-field}}

πŸ”΄

Arithmetic calculations

🟒
​{+:{toolset:field-one} {toolset:field-two}}
Sum the first and second fields

πŸ”΄

Conditions

🟒
​{if:{toolset:discount} '20% OFF'}

πŸ”΄

Cache the result

🟒
​{cache:my-field {toolset:name}}

πŸ”΄

CMB2

Dynamic Shortcodes

Dynamic Data

Retrieve a Field

πŸ”΄ Not available

🟒

Fallback Value

πŸ”΄ Not available

🟒

Add a Filter

πŸ”΄ ​Not available

🟑
Limited to some filters. You can only apply one filter at a time.

Pods

Dynamic Shortcodes

Dynamic Data

Retrieve a Field

🟒
​{pods:field-name}

🟒

Fallback Value

🟒
​{pods:field?'Another value'}

🟒

Add a Filter

🟒
You can use any PHP function
​{pods:field|strtoupper}
​
You can also apply as many filters as you like
​{pods:field|strtoupper|substr(0, 7)}

🟑
Limited to some filters. You can only apply one filter at a time.

Retrieve the field from another ID

🟒
​{pods:field @ID=23}

πŸ”΄

Dynamic values can be used within other Dynamic values

🟒
​{pods:field @ID={pods:another-field}}

πŸ”΄

Arithmetic calculations

🟒
​{+:{pods:field-one} {pods:field-two}}
Sum the first and second fields

πŸ”΄

Conditions

🟒
​{if:{pods:discount} '20% OFF'}

πŸ”΄

Cache the result

🟒
​{cache:my-field {pods:name}}

πŸ”΄

WooCommerce

Dynamic Shortcodes

Dynamic Data

Retrieve a Field

🟒
​{woo:field-name}

🟒

Fallback Value

🟒
​{woo:field?'Another value'}

🟒

Add a Filter

🟒
You can use any PHP function
​{woo:field|strtoupper}
​
You can also apply as many filters as you like
​{woo:field|strtoupper|substr(0, 7)}

🟑
Limited to some filters. You can only apply one filter at a time.

Retrieve the field from another ID

🟒
​{woo:field @ID=23}

πŸ”΄

Retrieve Woo Attributes

🟒
​{woo:attributes}

Retrieve Woo Variations

🟒
​{woo:variations}

Dynamic values can be used within other Dynamic values

🟒
​{woo:field @ID={woo:another-field}}

πŸ”΄

Arithmetic calculations

🟒
​{+:{woo:field-one} {woo:field-two}}
Sum the first and second fields

πŸ”΄

Conditions

🟒
​{if:{gt:{woo:size} 200} 'BIG Product'}

πŸ”΄

Cache the result

🟒
​{cache:my-variations {woo:variations}}

πŸ”΄

WordPress Shortcodes

Dynamic Shortcodes

Dynamic Data

Retrieve a WordPress Shortcode

🟒
​​{wp-shortcode:gallery @ ids="1,2,3" size="medium"}

is equivalent to the WordPress Shortcode
​

[gallery ids="1,2,3" size="medium"]

πŸ”΄ Not available

Dynamic values can be used within other Dynamic values

🟒
​{wp-shortcode:gallery @ ids="1,2,3" size={acf:gallery-size}}​

πŸ”΄ Not available

Query

Dynamic Shortcodes

Dynamic Data

Retrieve Posts

🟒
​{query:posts}

🟒

Retrieve Posts with a custom Query

🟒
​{query:posts@tag="health,fitness"}

Performs a query on posts tagged with either 'health' or 'fitness'

πŸ”΄

Retrieve Users

🟒
​{query:users}​

πŸ”΄

Retrieve Users with a custom Query

🟒
​{query:users@role__not_in={array:administrator editor}}

Performs a query on users, excluding users with 'administrator' or 'editor' roles

πŸ”΄

Retrieve Terms

🟒
​{query:terms}

🟒

Retrieve Terms with a custom Query

🟒
​{query:terms@taxonomy='category'}

Retrieve all terms in the category taxonomy

Dynamic values can be used within other Dynamic values

🟒
​{query:users@role__not_in={acf:roles}}

πŸ”΄

Cache the result

🟒
​{cache:latest_articles
{query:posts@posts_per_page=50}
@expiration="1 hour"
}

πŸ”΄

Parameters

Dynamic Shortcodes

Dynamic Data

GET Parameters (URL)

🟒
​{param-get:key}

🟒

POST Parameters

🟒

{param-post:key}

πŸ”΄

PHP Calls

Dynamic Shortcodes

Dynamic Data

Call a PHP function

🟒
​{call:function_name}

🟒

Passing arguments to the PHP function

🟒

{call:function_name parameter_1}

🟒

Passing dynamic arguments to the PHP function

🟒
​{call:function_name {acf:field_1}}

πŸ”΄

Do Action

Dynamic Shortcodes

Dynamic Data

Run action hooks

πŸ”΄ ​Not available

🟒

Did this answer your question?