Set Dynamic Tag is a WordPress ability from The Plus Addons for Elementor — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

Set Dynamic Tag

Write

Sets a dynamic tag on a specific setting of an element, making the setting value dynamic (e.g., title becomes post title).

Requires the The Plus Addons for Elementor plugin (which registers under the 'tpae' ability category) on WordPress 6.9+, with Elementor active. Every ability requires the current user to have the 'edit_posts' capability (and 'edit_post' for the specific post being modified); abilities that create or edit content also verify Elementor and, where relevant, the target The Plus widget are available. A subset of abilities (theme templates, template conditions, dynamic tags, popups, and some custom-code abilities) only register when Elementor Pro is active, and many widget abilities load only in the free plugin when the Pro add-on is inactive.

What it does

Loads the page's element data and locates the target element by ID. Builds an Elementor-format dynamic tag shortcode string ([elementor-tag id="..." name="..." settings="..."]) using a random tag ID and the URL-encoded, JSON-encoded tag_settings, then merges it into the element's __dynamic__ settings under the given setting_key via update_element_settings, and saves the page data.

See it in action

You ask your AI assistant

"Make the title field of element xyz on page 42 dynamically pull the post title."

Inputs

Name Type Required Description
post_id integer Yes The page/post ID.
element_id string Yes The element ID to modify.
setting_key string Yes The setting key to make dynamic (e.g., "title", "url", "image").
tag_name string Yes The dynamic tag name (e.g., "post-title", "site-title", "post-featured-image").
tag_settings object No Optional settings for the dynamic tag.

Returns

Returns a success boolean.

Permission

check_edit_permission requires the edit_posts capability, and edit_post capability on post_id if provided.

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.