Get PopularFX Library Sections is a WordPress ability from Page Builder: Pagelayer – Drag and Drop website builder — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

Get PopularFX Library Sections

Read-only

Browse prebuilt official PopularFX and PageLayer section templates (Hero, Features, Menu, Pricing, Testimonials, Headers, Footers) from Pagelayer's remote library.

Requires the Pagelayer plugin on WordPress 6.9+ (or another source of wp_register_ability()) for the Abilities API — registration is skipped entirely via a function_exists() guard when it isn't available, and ability categories similarly require wp_register_ability_category(). Most abilities require the 'edit_posts' capability; update-global-styles, create-menu, and delete-menu require 'manage_options'. search-images additionally needs a Pexels API key configured on the Pagelayer AI Agents settings page, and get-library-sections/import-library-section call Pagelayer's own hosted library API. Four near-duplicate abilities (get-widget, get-widgets-summary, edit-layout, navigator) are registered in source with mcp_public:false — fully callable over the REST Abilities API but intentionally left out of the advertised MCP tool list as duplicates of get-widget-schema, list-widgets, update-page, and get-page respectively — and are excluded from this listing.

What it does

Calls Pagelayer's hosted library API (api.pagelayer.com/library.php) with a type of sections, pages, header, or footer (default sections) and returns the raw library catalog for that type. This gives an AI client a way to browse ready-made sections it can hand off to import-library-section instead of hand-authoring every layout from scratch.

See it in action

You ask your AI assistant

"Show me the available prebuilt hero sections from the Pagelayer library."

Inputs

Name Type Required Description
type string No sections, pages, header, footer. Defaults to sections.

Returns

An object with type (the type requested) and library (the raw catalog array/object returned by the remote API, or an empty array with an error field on failure).

Permission

Requires the 'edit_posts' capability.

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.