AI Abilities is a Premium Addons for Elementor feature that connects AI clients such as Claude, Cursor, and Codex to your WordPress site through a built-in MCP server. Each ability is one action the connected AI can perform on your site. This doc covers one of the Discovery abilities: Get Post/Page ID by Title.
Get Post/Page ID by Title lets your AI client turn a page title into the post ID that every other ability works with. You say “the Services page”; the AI resolves that to ID 42 and gets to work.
It is a small ability with an outsized role: it is the translation layer between how you talk about your site and how WordPress addresses it.
At a Glance
| Category | Discovery |
| Access | Read-only |
| Destructive | No |
| MCP tool name | premium-addons/get-id-by-title |
| Available since | Premium Addons v4.11.85 |
Before You Start
This ability is part of the AI Abilities feature. If you have not set it up yet, follow the Elementor AI Abilities (MCP Tools) Tutorial first to enable the feature and connect your AI client. The ability must also be switched on under Premium Addons → AI Abilities & MCP Config, in the Discovery category:
Use Cases
Point at pages by name. Every prompt like “Rebuild my Services page with Premium Addons widgets” starts with this resolution step: title in, ID out, then the real work begins.
Chain into asset clearing. “Clear the dynamic assets for the About page” resolves the title first, then hands the ID to premium-addons/clear-dynamic-assets.
Check whether a page exists. Before creating “Summer Sale 2026”, the AI can look the title up; a null result means the name is free, a hit means it should duplicate or edit the existing one instead.
Good to Know
- The match is exact, on the full title. “Services” will not find “Our Services”; when the exact title is unknown,
premium-addons/list-pagesis the better tool. - Only the first match is returned. With two pages sharing one title, the AI gets one of them; distinct titles avoid the ambiguity.
- The search covers pages by default. Pass a different post type, or any, to widen it.
- A no-match returns null rather than an error, so the AI can branch on it.
- Resolving titles requires an administrator: the connected WordPress user must be able to manage options.
Inputs
| Parameter | Required | Description |
|---|---|---|
title | Yes | The exact title to resolve. |
post_type | No | The post type to search: page, post, or any. Defaults to page. |
Output
| Field | Description |
|---|---|
id | The ID of the first matching post, or empty when nothing matches. |
Come & Join the Community
Feel free to join our Facebook group and subscribe to our YouTube channel to keep up with our newest features, improvements, and helpful video tutorials.