bricks_update_page_settings

Phase 4IntermediateComplexity: 5/10
Update SEO title, meta description, scripts, custom CSS

Overview

Updates Bricks page-level settings using a deep merge strategy, meaning only the keys you provide are changed while all other settings remain untouched. This is the primary tool for configuring per-page SEO metadata, Open Graph social sharing tags, custom CSS, custom scripts, body classes, and layout overrides such as disabling the header or footer template.

The deep merge approach makes it safe to call repeatedly without overwriting previously configured settings. Ideal for adding SEO after page content is finalized or injecting page-specific scripts and styles.

Key Features

Deep Merge Updates
Only the provided keys are changed — existing settings are preserved. You can safely call this tool multiple times to build up settings incrementally.
SEO Configuration
Set custom document title, meta description (max 160 chars), meta keywords, and robots directives (noindex, nofollow) for each page individually.
Open Graph Social Sharing
Configure sharingTitle, sharingDescription, and sharingImage for rich link previews on Facebook, Twitter, LinkedIn, and other social platforms.
Page-Scoped Scripts & CSS
Inject custom CSS, header scripts, body-start scripts, and footer scripts that only load on this specific page — perfect for tracking pixels or A/B testing.
Layout Overrides
Disable header or footer templates on specific pages using headerDisabled/footerDisabled flags, and add custom body classes for styling hooks.

When to Use

Set SEO title and meta description for a specific page
Configure Open Graph tags for social media sharing
Add page-scoped custom CSS that only applies to one page
Inject custom scripts (header or footer) for tracking or third-party integrations
Disable the header or footer template on a specific page (e.g., landing pages)
Add extra body classes for page-specific styling hooks
Prerequisites
Page must already exist (use bricks_create_page first)
Page ID must be known (use bricks_list_pages to find it)
For Open Graph images, upload the image first with bricks_upload_media

When NOT to Use

For site-wide SEO settings — use an SEO plugin or bricks_update_site_settings instead
For global custom CSS — use bricks_add_custom_css with scope "global"
For changing the page status (draft/publish) — use bricks_update_page_status

Parameters

16 Total Parameters2 Required14 Optional
page_idnumberREQUIRED
The WordPress page (post) ID to update settings for.
settingsobjectREQUIRED
Object containing the settings to update. Only provided keys are changed (deep merge).
settings.bodyClassesstringoptional
Extra CSS classes added to the tag for this page.
settings.headerDisabledbooleanoptional
Set to true to disable the header template on this page.
Default: false
settings.footerDisabledbooleanoptional
Set to true to disable the footer template on this page.
Default: false
settings.documentTitlestringoptional
Custom tag content for SEO. Overrides the default WordPress title.</div></div><div style="padding:20px;background:#111827;border-radius:12px;border:1px solid #1e293b;"><div style="display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px;"><code style="font-family:JetBrains Mono,Fira Code,monospace;font-size:15px;font-weight:600;color:#c5a347;background:transparent;">settings.metaDescription</code><span style="padding:2px 8px;border-radius:4px;font-size:12px;font-weight:500;background:#4361ee22;color:#4361ee;">string</span><span style="padding:2px 8px;border-radius:4px;font-size:12px;font-weight:500;background:#6b728022;color:#6b7280;">optional</span></div><div style="color:#c8cdd8;font-size:14px;line-height:1.6;margin-bottom:8px;">Meta description for search engines. Keep under 160 characters for best results.</div></div><div style="padding:20px;background:#111827;border-radius:12px;border:1px solid #1e293b;"><div style="display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px;"><code style="font-family:JetBrains Mono,Fira Code,monospace;font-size:15px;font-weight:600;color:#c5a347;background:transparent;">settings.metaKeywords</code><span style="padding:2px 8px;border-radius:4px;font-size:12px;font-weight:500;background:#4361ee22;color:#4361ee;">string</span><span style="padding:2px 8px;border-radius:4px;font-size:12px;font-weight:500;background:#6b728022;color:#6b7280;">optional</span></div><div style="color:#c8cdd8;font-size:14px;line-height:1.6;margin-bottom:8px;">Comma-separated meta keywords for the page.</div></div><div style="padding:20px;background:#111827;border-radius:12px;border:1px solid #1e293b;"><div style="display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px;"><code style="font-family:JetBrains Mono,Fira Code,monospace;font-size:15px;font-weight:600;color:#c5a347;background:transparent;">settings.metaRobots</code><span style="padding:2px 8px;border-radius:4px;font-size:12px;font-weight:500;background:#4361ee22;color:#4361ee;">string</span><span style="padding:2px 8px;border-radius:4px;font-size:12px;font-weight:500;background:#6b728022;color:#6b7280;">optional</span></div><div style="color:#c8cdd8;font-size:14px;line-height:1.6;margin-bottom:8px;">Robots directive for search engine crawlers.</div><div style="font-size:13px;display:flex;gap:16px;flex-wrap:wrap;"><span style="color:#6b7280;">Values:</span> <code style="color:#8b5cf6;font-family:monospace;font-size:13px;">index, noindex, follow, nofollow, noindex nofollow</code></div></div><div style="padding:20px;background:#111827;border-radius:12px;border:1px solid #1e293b;"><div style="display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px;"><code style="font-family:JetBrains Mono,Fira Code,monospace;font-size:15px;font-weight:600;color:#c5a347;background:transparent;">settings.sharingTitle</code><span style="padding:2px 8px;border-radius:4px;font-size:12px;font-weight:500;background:#4361ee22;color:#4361ee;">string</span><span style="padding:2px 8px;border-radius:4px;font-size:12px;font-weight:500;background:#6b728022;color:#6b7280;">optional</span></div><div style="color:#c8cdd8;font-size:14px;line-height:1.6;margin-bottom:8px;">Open Graph title for social media sharing previews.</div></div><div style="padding:20px;background:#111827;border-radius:12px;border:1px solid #1e293b;"><div style="display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px;"><code style="font-family:JetBrains Mono,Fira Code,monospace;font-size:15px;font-weight:600;color:#c5a347;background:transparent;">settings.sharingDescription</code><span style="padding:2px 8px;border-radius:4px;font-size:12px;font-weight:500;background:#4361ee22;color:#4361ee;">string</span><span style="padding:2px 8px;border-radius:4px;font-size:12px;font-weight:500;background:#6b728022;color:#6b7280;">optional</span></div><div style="color:#c8cdd8;font-size:14px;line-height:1.6;margin-bottom:8px;">Open Graph description for social media sharing previews.</div></div><div style="padding:20px;background:#111827;border-radius:12px;border:1px solid #1e293b;"><div style="display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px;"><code style="font-family:JetBrains Mono,Fira Code,monospace;font-size:15px;font-weight:600;color:#c5a347;background:transparent;">settings.sharingImage</code><span style="padding:2px 8px;border-radius:4px;font-size:12px;font-weight:500;background:#4361ee22;color:#4361ee;">object</span><span style="padding:2px 8px;border-radius:4px;font-size:12px;font-weight:500;background:#6b728022;color:#6b7280;">optional</span></div><div style="color:#c8cdd8;font-size:14px;line-height:1.6;margin-bottom:8px;">Open Graph image object with url (string) and optional id (number) for social sharing previews.</div></div><div style="padding:20px;background:#111827;border-radius:12px;border:1px solid #1e293b;"><div style="display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px;"><code style="font-family:JetBrains Mono,Fira Code,monospace;font-size:15px;font-weight:600;color:#c5a347;background:transparent;">settings.customCss</code><span style="padding:2px 8px;border-radius:4px;font-size:12px;font-weight:500;background:#4361ee22;color:#4361ee;">string</span><span style="padding:2px 8px;border-radius:4px;font-size:12px;font-weight:500;background:#6b728022;color:#6b7280;">optional</span></div><div style="color:#c8cdd8;font-size:14px;line-height:1.6;margin-bottom:8px;">Custom CSS that only applies to this specific page.</div></div><div style="padding:20px;background:#111827;border-radius:12px;border:1px solid #1e293b;"><div style="display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px;"><code style="font-family:JetBrains Mono,Fira Code,monospace;font-size:15px;font-weight:600;color:#c5a347;background:transparent;">settings.customScriptsHeader</code><span style="padding:2px 8px;border-radius:4px;font-size:12px;font-weight:500;background:#4361ee22;color:#4361ee;">string</span><span style="padding:2px 8px;border-radius:4px;font-size:12px;font-weight:500;background:#6b728022;color:#6b7280;">optional</span></div><div style="color:#c8cdd8;font-size:14px;line-height:1.6;margin-bottom:8px;">Scripts injected before the closing tag on this page only.</div></div><div style="padding:20px;background:#111827;border-radius:12px;border:1px solid #1e293b;"><div style="display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px;"><code style="font-family:JetBrains Mono,Fira Code,monospace;font-size:15px;font-weight:600;color:#c5a347;background:transparent;">settings.customScriptsBodyHeader</code><span style="padding:2px 8px;border-radius:4px;font-size:12px;font-weight:500;background:#4361ee22;color:#4361ee;">string</span><span style="padding:2px 8px;border-radius:4px;font-size:12px;font-weight:500;background:#6b728022;color:#6b7280;">optional</span></div><div style="color:#c8cdd8;font-size:14px;line-height:1.6;margin-bottom:8px;">Scripts injected right after the opening tag on this page only.</div></div><div style="padding:20px;background:#111827;border-radius:12px;border:1px solid #1e293b;"><div style="display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px;"><code style="font-family:JetBrains Mono,Fira Code,monospace;font-size:15px;font-weight:600;color:#c5a347;background:transparent;">settings.customScriptsBodyFooter</code><span style="padding:2px 8px;border-radius:4px;font-size:12px;font-weight:500;background:#4361ee22;color:#4361ee;">string</span><span style="padding:2px 8px;border-radius:4px;font-size:12px;font-weight:500;background:#6b728022;color:#6b7280;">optional</span></div><div style="color:#c8cdd8;font-size:14px;line-height:1.6;margin-bottom:8px;">Scripts injected before the closing tag on this page only.</div></div></div></div></div></section><section id="brxe-d624ee" class="brxe-section bricks-lazy-hidden"><div id="brxe-acfa7b" class="brxe-container bricks-lazy-hidden"><h2 id="brxe-cc8110" class="brxe-heading">Code Examples</h2><div data-script-id="4f6a08" class="brxe-code"><br /> <b>Warning</b>: Undefined array key "example_output" in <b>/var/www/vhosts/mcpbricksbuilder.wecode.swiss/httpdocs/wp-content/themes/bricks/includes/elements/code.php(236) : eval()'d code</b> on line <b>12</b><br /> <div style="margin-bottom:32px;"><h3 style="font-size:20px;font-weight:600;color:#ffffff;margin-bottom:8px;">Configure SEO and Open Graph for a page</h3><p style="color:#9ca3af;font-size:14px;line-height:1.6;margin-bottom:16px;">Sets the document title, meta description, and Open Graph tags for social sharing after the page content has been finalized.</p><div style="position:relative;"><div style="position:absolute;top:12px;right:12px;font-size:11px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:0.5px;">JSON</div><pre style="background:#0d1117;border:1px solid #1e293b;border-radius:12px;padding:20px;overflow-x:auto;margin:0;"><code style="font-family:JetBrains Mono,Fira Code,monospace;font-size:13px;line-height:1.7;color:#e6edf3;white-space:pre;">bricks_update_page_settings({ page_id: 42, settings: { documentTitle: 'About Us | My Company', metaDescription: 'Learn about our team, mission, and values. We build innovative solutions for modern businesses.', metaRobots: 'index, follow', sharingTitle: 'About Us | My Company', sharingDescription: 'Meet the team behind My Company.', sharingImage: { url: 'https://example.com/og-about.jpg', id: 123 } } })</code></pre></div></div><br /> <b>Warning</b>: Undefined array key "example_output" in <b>/var/www/vhosts/mcpbricksbuilder.wecode.swiss/httpdocs/wp-content/themes/bricks/includes/elements/code.php(236) : eval()'d code</b> on line <b>12</b><br /> <div style="margin-bottom:0px;"><h3 style="font-size:20px;font-weight:600;color:#ffffff;margin-bottom:8px;">Create a distraction-free landing page</h3><p style="color:#9ca3af;font-size:14px;line-height:1.6;margin-bottom:16px;">Disables header and footer templates and adds page-specific tracking scripts for a conversion-focused landing page.</p><div style="position:relative;"><div style="position:absolute;top:12px;right:12px;font-size:11px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:0.5px;">JSON</div><pre style="background:#0d1117;border:1px solid #1e293b;border-radius:12px;padding:20px;overflow-x:auto;margin:0;"><code style="font-family:JetBrains Mono,Fira Code,monospace;font-size:13px;line-height:1.7;color:#e6edf3;white-space:pre;">bricks_update_page_settings({ page_id: 55, settings: { headerDisabled: true, footerDisabled: true, bodyClasses: 'landing-page no-nav', customCss: '.landing-page .hero { min-height: 100vh; }', customScriptsBodyFooter: '<script>fbq("track", "ViewContent");</script>' } })</code></pre></div></div><div style="margin-top:48px;padding-top:32px;border-top:1px solid #1e293b;"><h3 style="font-size:22px;font-weight:600;color:#ffffff;margin-bottom:24px;"><i class="fas fa-exclamation-triangle" style="color:#f59e0b;margin-right:10px;"></i>Common Mistakes</h3><br /> <b>Warning</b>: Undefined array key "fix_description" in <b>/var/www/vhosts/mcpbricksbuilder.wecode.swiss/httpdocs/wp-content/themes/bricks/includes/elements/code.php(236) : eval()'d code</b> on line <b>47</b><br /> <br /> <b>Deprecated</b>: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in <b>/var/www/vhosts/mcpbricksbuilder.wecode.swiss/httpdocs/wp-includes/kses.php</b> on line <b>2018</b><br /> <br /> <b>Warning</b>: Undefined array key "wrong_code" in <b>/var/www/vhosts/mcpbricksbuilder.wecode.swiss/httpdocs/wp-content/themes/bricks/includes/elements/code.php(236) : eval()'d code</b> on line <b>48</b><br /> <br /> <b>Warning</b>: Undefined array key "right_code" in <b>/var/www/vhosts/mcpbricksbuilder.wecode.swiss/httpdocs/wp-content/themes/bricks/includes/elements/code.php(236) : eval()'d code</b> on line <b>49</b><br /> <div style="margin-bottom:24px;padding:20px;background:#111827;border-radius:12px;border:1px solid #1e293b;"><div style="color:#f87171;font-size:15px;font-weight:600;margin-bottom:8px;"><i class="fas fa-times" style="margin-right:8px;"></i>Page settings customCss only applies to the specific page. For site-wide CSS, use bricks_add_custom_css with scope "global" instead.</div></div><br /> <b>Warning</b>: Undefined array key "fix_description" in <b>/var/www/vhosts/mcpbricksbuilder.wecode.swiss/httpdocs/wp-content/themes/bricks/includes/elements/code.php(236) : eval()'d code</b> on line <b>47</b><br /> <br /> <b>Deprecated</b>: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in <b>/var/www/vhosts/mcpbricksbuilder.wecode.swiss/httpdocs/wp-includes/kses.php</b> on line <b>2018</b><br /> <br /> <b>Warning</b>: Undefined array key "wrong_code" in <b>/var/www/vhosts/mcpbricksbuilder.wecode.swiss/httpdocs/wp-content/themes/bricks/includes/elements/code.php(236) : eval()'d code</b> on line <b>48</b><br /> <br /> <b>Warning</b>: Undefined array key "right_code" in <b>/var/www/vhosts/mcpbricksbuilder.wecode.swiss/httpdocs/wp-content/themes/bricks/includes/elements/code.php(236) : eval()'d code</b> on line <b>49</b><br /> <div style="margin-bottom:24px;padding:20px;background:#111827;border-radius:12px;border:1px solid #1e293b;"><div style="color:#f87171;font-size:15px;font-weight:600;margin-bottom:8px;"><i class="fas fa-times" style="margin-right:8px;"></i>Search engines truncate meta descriptions beyond approximately 155-160 characters. Keep descriptions concise and impactful within this limit.</div></div><br /> <b>Warning</b>: Undefined array key "fix_description" in <b>/var/www/vhosts/mcpbricksbuilder.wecode.swiss/httpdocs/wp-content/themes/bricks/includes/elements/code.php(236) : eval()'d code</b> on line <b>47</b><br /> <br /> <b>Deprecated</b>: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in <b>/var/www/vhosts/mcpbricksbuilder.wecode.swiss/httpdocs/wp-includes/kses.php</b> on line <b>2018</b><br /> <br /> <b>Warning</b>: Undefined array key "wrong_code" in <b>/var/www/vhosts/mcpbricksbuilder.wecode.swiss/httpdocs/wp-content/themes/bricks/includes/elements/code.php(236) : eval()'d code</b> on line <b>48</b><br /> <br /> <b>Warning</b>: Undefined array key "right_code" in <b>/var/www/vhosts/mcpbricksbuilder.wecode.swiss/httpdocs/wp-content/themes/bricks/includes/elements/code.php(236) : eval()'d code</b> on line <b>49</b><br /> <div style="margin-bottom:24px;padding:20px;background:#111827;border-radius:12px;border:1px solid #1e293b;"><div style="color:#f87171;font-size:15px;font-weight:600;margin-bottom:8px;"><i class="fas fa-times" style="margin-right:8px;"></i>The customScriptsBodyFooter field is output raw into HTML. JavaScript code must be wrapped in tags or it will render as visible text on the page.</div></div></div></div></div></section><section id="brxe-a1861f" class="brxe-section bricks-lazy-hidden"><div id="brxe-f4b220" class="brxe-container bricks-lazy-hidden"><h2 id="brxe-1ec4ad" class="brxe-heading">Tips & Warnings</h2><div data-script-id="41de87" class="brxe-code"><div style="padding:24px;background:#111827;border-radius:16px;border-left:4px solid #f59e0b;"><div style="display:flex;align-items:center;gap:10px;margin-bottom:16px;"><div style="display:flex;align-items:center;justify-content:center;width:36px;height:36px;background:#f59e0b22;border-radius:10px;flex-shrink:0;"><i class="fas fa-lightbulb" style="color:#f59e0b;font-size:18px;"></i></div><span style="font-size:16px;font-weight:600;color:#f59e0b;">Tips & Warnings</span></div><div style="color:#c8cdd8;font-size:15px;line-height:1.8;"><p><strong>Deep merge behavior:</strong> You can call this tool multiple times for the same page. Each call only updates the keys you provide, leaving all other settings intact. This is ideal for incremental configuration.</p> <p><strong>Script injection order:</strong> customScriptsHeader loads before page content, customScriptsBodyHeader loads right after the opening body tag, and customScriptsBodyFooter loads last — ideal for analytics and tracking pixels.</p> <p><strong>SEO best practices:</strong> Always set documentTitle and metaDescription as the last step in your page build workflow (Phase 4 step 3). Use the page content and purpose to write unique, descriptive meta tags.</p> </div></div><div style="margin-top:32px;"><h3 style="font-size:22px;font-weight:600;color:#ffffff;margin-bottom:20px;">Return Values</h3><div style="overflow-x:auto;"><table style="width:100%;border-collapse:separate;border-spacing:0;background:#111827;border-radius:12px;overflow:hidden;border:1px solid #1e293b;"><thead><tr><th style="padding:12px 16px;text-align:left;font-size:12px;font-weight:600;color:#c5a347;text-transform:uppercase;letter-spacing:0.5px;background:#0d1117;border-bottom:1px solid #1e293b;">Field</th><th style="padding:12px 16px;text-align:left;font-size:12px;font-weight:600;color:#c5a347;text-transform:uppercase;letter-spacing:0.5px;background:#0d1117;border-bottom:1px solid #1e293b;">Type</th><th style="padding:12px 16px;text-align:left;font-size:12px;font-weight:600;color:#c5a347;text-transform:uppercase;letter-spacing:0.5px;background:#0d1117;border-bottom:1px solid #1e293b;">Description</th></tr></thead><tbody><tr><td style="padding:12px 16px;border-bottom:1px solid #1e293b;"><code style="font-family:monospace;font-size:14px;color:#c5a347;">success</code></td><td style="padding:12px 16px;border-bottom:1px solid #1e293b;"><span style="padding:2px 8px;border-radius:4px;font-size:12px;background:#4361ee22;color:#4361ee;">boolean</span></td><td style="padding:12px 16px;color:#c8cdd8;font-size:14px;border-bottom:1px solid #1e293b;">Whether the settings were successfully updated.</td></tr><tr><td style="padding:12px 16px;border-bottom:1px solid #1e293b;"><code style="font-family:monospace;font-size:14px;color:#c5a347;">message</code></td><td style="padding:12px 16px;border-bottom:1px solid #1e293b;"><span style="padding:2px 8px;border-radius:4px;font-size:12px;background:#4361ee22;color:#4361ee;">string</span></td><td style="padding:12px 16px;color:#c8cdd8;font-size:14px;border-bottom:1px solid #1e293b;">Confirmation message with the page ID and list of updated setting keys.</td></tr><tr><td style="padding:12px 16px;"><code style="font-family:monospace;font-size:14px;color:#c5a347;">settings</code></td><td style="padding:12px 16px;"><span style="padding:2px 8px;border-radius:4px;font-size:12px;background:#4361ee22;color:#4361ee;">object</span></td><td style="padding:12px 16px;color:#c8cdd8;font-size:14px;">The complete page settings object after the merge, including all existing and newly updated values.</td></tr></tbody></table></div></div></div></div></section><section id="brxe-771dc0" class="brxe-section bricks-lazy-hidden"><div id="brxe-3db097" class="brxe-container bricks-lazy-hidden"><h2 id="brxe-e906ec" class="brxe-heading">Related Tools</h2></div></section><section id="brxe-7b84f0" class="brxe-section bricks-lazy-hidden"><div id="brxe-4ad03a" class="brxe-container bricks-lazy-hidden"><h2 id="brxe-21bd6d" class="brxe-heading">Technical Details</h2><div data-script-id="ea1044" class="brxe-code"><div style="display:grid;grid-template-columns:repeat(auto-fill,minmax(400px,1fr));gap:1px;background:#1e293b;border-radius:16px;overflow:hidden;border:1px solid #1e293b;"><div style="padding:16px 20px;background:#111827;display:flex;align-items:center;gap:12px;"><i class="fas fa-fingerprint" style="color:#6b7280;font-size:14px;width:20px;text-align:center;flex-shrink:0;"></i><div style="flex:1;min-width:0;"><div style="font-size:11px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:0.5px;margin-bottom:4px;">Tool ID</div><code style="font-family:JetBrains Mono,Fira Code,monospace;font-size:14px;color:#c5a347;word-break:break-all;">bricks_update_page_settings</code></div></div><div style="padding:16px 20px;background:#111827;display:flex;align-items:center;gap:12px;"><i class="fas fa-link" style="color:#6b7280;font-size:14px;width:20px;text-align:center;flex-shrink:0;"></i><div style="flex:1;min-width:0;"><div style="font-size:11px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:0.5px;margin-bottom:4px;">API Endpoint</div><code style="font-family:JetBrains Mono,Fira Code,monospace;font-size:14px;color:#c5a347;word-break:break-all;">/bricks-mcp/v1/pages/{page_id}/settings</code></div></div><div style="padding:16px 20px;background:#111827;display:flex;align-items:center;gap:12px;"><i class="fas fa-exchange-alt" style="color:#6b7280;font-size:14px;width:20px;text-align:center;flex-shrink:0;"></i><div style="flex:1;min-width:0;"><div style="font-size:11px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:0.5px;margin-bottom:4px;">HTTP Method</div><span style="display:inline-block;padding:2px 10px;border-radius:4px;font-size:13px;font-weight:700;font-family:monospace;background:#c5a34722;color:#c5a347;border:1px solid #c5a34744;">PUT</span></div></div><div style="padding:16px 20px;background:#111827;display:flex;align-items:center;gap:12px;"><i class="fas fa-folder" style="color:#6b7280;font-size:14px;width:20px;text-align:center;flex-shrink:0;"></i><div style="flex:1;min-width:0;"><div style="font-size:11px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:0.5px;margin-bottom:4px;">Namespace</div><code style="font-family:JetBrains Mono,Fira Code,monospace;font-size:14px;color:#c5a347;word-break:break-all;">pages-elements</code></div></div><div style="padding:16px 20px;background:#111827;display:flex;align-items:center;gap:12px;"><i class="fas fa-file-code" style="color:#6b7280;font-size:14px;width:20px;text-align:center;flex-shrink:0;"></i><div style="flex:1;min-width:0;"><div style="font-size:11px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:0.5px;margin-bottom:4px;">Source File</div><code style="font-family:JetBrains Mono,Fira Code,monospace;font-size:14px;color:#c5a347;word-break:break-all;">pages/settings.ts</code></div></div><div style="padding:16px 20px;background:#111827;display:flex;align-items:center;gap:12px;"><i class="fas fa-code-branch" style="color:#6b7280;font-size:14px;width:20px;text-align:center;flex-shrink:0;"></i><div style="flex:1;min-width:0;"><div style="font-size:11px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:0.5px;margin-bottom:4px;">Version</div><span style="font-size:14px;color:#e2e8f0;">1.0</span></div></div><div style="padding:16px 20px;background:#111827;display:flex;align-items:center;gap:12px;"><i class="fas fa-cubes" style="color:#6b7280;font-size:14px;width:20px;text-align:center;flex-shrink:0;"></i><div style="flex:1;min-width:0;"><div style="font-size:11px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:0.5px;margin-bottom:4px;">Min Bricks Version</div><span style="font-size:14px;color:#e2e8f0;">1.9</span></div></div><div style="padding:16px 20px;background:#111827;display:flex;align-items:center;gap:12px;"><i class="fas fa-lock" style="color:#6b7280;font-size:14px;width:20px;text-align:center;flex-shrink:0;"></i><div style="flex:1;min-width:0;"><div style="font-size:11px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:0.5px;margin-bottom:4px;">Requires Auth</div><span style="font-size:14px;color:#e2e8f0;">Yes</span></div></div></div><div style="margin-top:32px;"><h3 style="font-size:20px;font-weight:600;color:#ffffff;margin-bottom:16px;"><i class="fas fa-history" style="color:#6b7280;margin-right:8px;"></i>Changelog</h3><div style="display:flex;flex-direction:column;gap:8px;"><div style="display:flex;align-items:flex-start;gap:12px;padding:12px 16px;background:#111827;border-radius:8px;border:1px solid #1e293b;"><span style="flex-shrink:0;padding:2px 8px;border-radius:4px;font-size:12px;font-weight:600;font-family:monospace;background:#c5a34722;color:#c5a347;">v1.0</span><div><div style="font-size:14px;color:#e2e8f0;">Initial release with full page settings support including SEO, Open Graph, custom CSS/scripts, and layout overrides.</div><div style="font-size:12px;color:#6b7280;margin-top:4px;">20250101</div></div></div></div></div></div></div></section></main><footer id="brx-footer"><section id="brxe-54d6b8" class="brxe-section bricks-lazy-hidden"><div id="brxe-b6f2a1" class="brxe-container brx-grid bricks-lazy-hidden"><div id="brxe-45ad3d" class="brxe-div bricks-lazy-hidden"><div id="brxe-f95535" class="brxe-heading">Bricks MCP</div><div class="brxe-text-basic">Build WordPress sites with AI, not clicks. An open-source MCP server with 110+ tools for Bricks Builder.</div><ul class="brxe-social-icons"><li class="repeater-item has-link"><a ></a></li><li class="repeater-item has-link"><a ></a></li><li class="repeater-item has-link"><a ></a></li></ul></div><div id="brxe-c106df" class="brxe-div bricks-lazy-hidden"><div id="brxe-702a6a" class="brxe-heading">Product</div><div id="brxe-4c62a1" class="brxe-text-basic text-small-white"><a href="/features/" style="text-decoration:none;transition:color 0.3s;">Features</a></div><div id="brxe-97009c" class="brxe-text-basic text-small-white"><a href='/getting-started/' style='text-decoration:none;transition:color 0.3s;'>Getting Started</a></div><div id="brxe-a30cd7" class="brxe-text-basic text-small-white"><a href='/tools/' style='text-decoration:none;transition:color 0.3s;'>MCP Tools Reference</a></div><div id="brxe-4c9de2" class="brxe-text-basic text-small-white"><a href='/pricing/' style='text-decoration:none;transition:color 0.3s;'>Pricing</a></div></div><div id="brxe-d7bce0" class="brxe-div bricks-lazy-hidden"><div id="brxe-ff8c78" class="brxe-heading">Resources</div><div id="brxe-1035a0" class="brxe-text-basic text-small-white"><a href='/docs/' style='text-decoration:none;transition:color 0.3s;'>Documentation</a></div><div id="brxe-e71237" class="brxe-text-basic text-small-white">GitHub Repository</div><div id="brxe-23daee" class="brxe-text-basic text-small-white">Changelog</div><div id="brxe-032d51" class="brxe-text-basic text-small-white">Support</div></div><div id="brxe-46a888" class="brxe-div bricks-lazy-hidden"><div id="brxe-973b30" class="brxe-heading">Community</div><div id="brxe-9a8a89" class="brxe-text-basic">Discord Server</div><div id="brxe-dfe081" class="brxe-text-basic">Twitter / X</div><div id="brxe-080df5" class="brxe-text-basic">Contributing Guide</div><div id="brxe-797379" class="brxe-text-basic">Report an Issue</div></div></div><div id="brxe-a1928f" class="brxe-div bricks-lazy-hidden"><div id="brxe-4a5cc9" class="brxe-text-basic text-small-white">© 2026 Bricks MCP. Open source under MIT License.</div></div></section></footer><script type="speculationrules"> {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"/*"},{"not":{"href_matches":["/wp-*.php","/wp-admin/*","/wp-content/uploads/*","/wp-content/*","/wp-content/plugins/*","/wp-content/themes/bricks-child/*","/wp-content/themes/bricks/*","/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} </script> <script id="bricks-scripts-js-extra"> var bricksData = {"debug":"","locale":"fr_FR","ajaxUrl":"https://mcpbricksbuilder.wecode.swiss/wp-admin/admin-ajax.php","restApiUrl":"https://mcpbricksbuilder.wecode.swiss/wp-json/bricks/v1/","nonce":"bc79d95b25","formNonce":"ca700fe106","wpRestNonce":"a81eafdf0e","postId":"134","recaptchaIds":[],"animatedTypingInstances":[],"videoInstances":[],"splideInstances":[],"tocbotInstances":[],"swiperInstances":[],"queryLoopInstances":[],"interactions":[],"filterInstances":[],"isotopeInstances":[],"activeFiltersCountInstances":[],"googleMapInstances":[],"leafletMapInstances":[],"choicesInstances":[],"facebookAppId":"","headerPosition":"sticky","offsetLazyLoad":"300","baseUrl":"https://mcpbricksbuilder.wecode.swiss/mcp_tool/bricks_update_page_settings/","useQueryFilter":"1","pageFilters":[],"language":"","wpmlUrlFormat":"","multilangPlugin":"","i18n":{"closeMobileMenu":"Fermer le menu mobile","firstSlide":"Aller \u00e0 la premi\u00e8re diapositive","hidePassword":"Masquer le mot de passe","lastSlide":"Aller \u00e0 la derni\u00e8re diapositive","locationContent":"Contenu de l'emplacement","locationSubtitle":"Sous-titre de l'emplacement","locationTitle":"Titre de l'emplacement","nextSlide":"Diapositive suivante","noLocationsFound":"Aucun emplacement trouv\u00e9","openAccordion":"Ouvrir l'accord\u00e9on","openMobileMenu":"Ouvrir le menu mobile","pause":"Mettre en pause la lecture automatique","play":"D\u00e9marrer la lecture automatique","prevSlide":"Diapositive pr\u00e9c\u00e9dente","remove":"Supprimer","showPassword":"Afficher le mot de passe","slideX":"Aller \u00e0 la diapositive %s","splide":{"carousel":"carrousel","select":"S\u00e9lectionner une diapositive \u00e0 afficher","slide":"diapositive","slideLabel":"%1$s sur %2$s"},"swiper":{"paginationBulletMessage":"Aller \u00e0 la diapositive {{index}}","slideLabelMessage":"{{index}} / {{slidesLength}}"}},"selectedFilters":[],"filterNiceNames":[],"bricksGoogleMarkerScript":"https://mcpbricksbuilder.wecode.swiss/wp-content/themes/bricks/assets/js/libs/bricks-google-marker.min.js?v=2.3.2","infoboxScript":"https://mcpbricksbuilder.wecode.swiss/wp-content/themes/bricks/assets/js/libs/infobox.min.js?v=2.3.2","markerClustererScript":"https://mcpbricksbuilder.wecode.swiss/wp-content/themes/bricks/assets/js/libs/markerclusterer.min.js?v=2.3.2","mainQueryId":"","activeSearchTemplate":"0","defaultMode":"dark"}; //# sourceURL=bricks-scripts-js-extra </script> <script src="https://mcpbricksbuilder.wecode.swiss/wp-content/themes/bricks/assets/js/bricks.min.js?ver=1775794605" id="bricks-scripts-js"></script> <script id="wp-emoji-settings" type="application/json"> {"baseUrl":"https://s.w.org/images/core/emoji/17.0.2/72x72/","ext":".png","svgUrl":"https://s.w.org/images/core/emoji/17.0.2/svg/","svgExt":".svg","source":{"concatemoji":"https://mcpbricksbuilder.wecode.swiss/wp-includes/js/wp-emoji-release.min.js?ver=6.9.4"}} </script> <script type="module"> /*! This file is auto-generated */ const a=JSON.parse(document.getElementById("wp-emoji-settings").textContent),o=(window._wpemojiSettings=a,"wpEmojiSettingsSupports"),s=["flag","emoji"];function i(e){try{var t={supportTests:e,timestamp:(new Date).valueOf()};sessionStorage.setItem(o,JSON.stringify(t))}catch(e){}}function c(e,t,n){e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(t,0,0);t=new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data);e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(n,0,0);const a=new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data);return t.every((e,t)=>e===a[t])}function p(e,t){e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(t,0,0);var n=e.getImageData(16,16,1,1);for(let e=0;e<n.data.length;e++)if(0!==n.data[e])return!1;return!0}function u(e,t,n,a){switch(t){case"flag":return n(e,"\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f","\ud83c\udff3\ufe0f\u200b\u26a7\ufe0f")?!1:!n(e,"\ud83c\udde8\ud83c\uddf6","\ud83c\udde8\u200b\ud83c\uddf6")&&!n(e,"\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f","\ud83c\udff4\u200b\udb40\udc67\u200b\udb40\udc62\u200b\udb40\udc65\u200b\udb40\udc6e\u200b\udb40\udc67\u200b\udb40\udc7f");case"emoji":return!a(e,"\ud83e\u1fac8")}return!1}function f(e,t,n,a){let r;const o=(r="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?new OffscreenCanvas(300,150):document.createElement("canvas")).getContext("2d",{willReadFrequently:!0}),s=(o.textBaseline="top",o.font="600 32px Arial",{});return e.forEach(e=>{s[e]=t(o,e,n,a)}),s}function r(e){var t=document.createElement("script");t.src=e,t.defer=!0,document.head.appendChild(t)}a.supports={everything:!0,everythingExceptFlag:!0},new Promise(t=>{let n=function(){try{var e=JSON.parse(sessionStorage.getItem(o));if("object"==typeof e&&"number"==typeof e.timestamp&&(new Date).valueOf()<e.timestamp+604800&&"object"==typeof e.supportTests)return e.supportTests}catch(e){}return null}();if(!n){if("undefined"!=typeof Worker&&"undefined"!=typeof OffscreenCanvas&&"undefined"!=typeof URL&&URL.createObjectURL&&"undefined"!=typeof Blob)try{var e="postMessage("+f.toString()+"("+[JSON.stringify(s),u.toString(),c.toString(),p.toString()].join(",")+"));",a=new Blob([e],{type:"text/javascript"});const r=new Worker(URL.createObjectURL(a),{name:"wpTestEmojiSupports"});return void(r.onmessage=e=>{i(n=e.data),r.terminate(),t(n)})}catch(e){}i(n=f(s,u,c,p))}t(n)}).then(e=>{for(const n in e)a.supports[n]=e[n],a.supports.everything=a.supports.everything&&a.supports[n],"flag"!==n&&(a.supports.everythingExceptFlag=a.supports.everythingExceptFlag&&a.supports[n]);var t;a.supports.everythingExceptFlag=a.supports.everythingExceptFlag&&!a.supports.flag,a.supports.everything||((t=a.source||{}).concatemoji?r(t.concatemoji):t.wpemoji&&t.twemoji&&(r(t.twemoji),r(t.wpemoji)))}); //# sourceURL=https://mcpbricksbuilder.wecode.swiss/wp-includes/js/wp-emoji-loader.min.js </script> <script src="https://cdn.jsdelivr.net/npm/aos@2.3.4/dist/aos.js" defer></script> <script>document.addEventListener('DOMContentLoaded',function(){AOS.init({ duration: 800, easing: 'ease-out-cubic', once: true, offset: 80 });});</script> <script src="https://cdn.jsdelivr.net/npm/lenis@1.1.18/dist/lenis.min.js" defer></script> <script>document.addEventListener('DOMContentLoaded',function(){const lenis = new Lenis({ duration: 1.2, easing: (t) => Math.min(1, 1.001 - Math.pow(2, -10 * t)), orientation: 'vertical', smoothWheel: true }); function raf(time) { lenis.raf(time); requestAnimationFrame(raf); } requestAnimationFrame(raf);});</script> <script> document.addEventListener('DOMContentLoaded', function() { /* ── Magnetic Button Effect ── */ document.querySelectorAll('.btn-glow').forEach(function(btn) { btn.addEventListener('mousemove', function(e) { var rect = btn.getBoundingClientRect(); var x = e.clientX - rect.left - rect.width / 2; var y = e.clientY - rect.top - rect.height / 2; btn.style.transform = 'translate(' + x * 0.15 + 'px, ' + y * 0.15 + 'px)'; }); btn.addEventListener('mouseleave', function() { btn.style.transform = ''; }); }); /* ── Counter Glow Pulse on Scroll Into View ── */ var counterObserver = new IntersectionObserver(function(entries) { entries.forEach(function(entry) { if (entry.isIntersecting) { entry.target.classList.add('stat-glow'); counterObserver.unobserve(entry.target); } }); }, { threshold: 0.5 }); document.querySelectorAll('.brxe-counter').forEach(function(counter) { counterObserver.observe(counter); }); /* ── Parallax Effect on Hero Section ── */ var heroSection = document.querySelector('[data-label="hero-section"]'); if (heroSection) { window.addEventListener('scroll', function() { var scrollY = window.pageYOffset; var heroHeight = heroSection.offsetHeight; if (scrollY < heroHeight) { var parallax = scrollY * 0.3; var opacity = 1 - (scrollY / heroHeight) * 0.5; heroSection.style.backgroundPositionY = parallax + 'px'; var container = heroSection.querySelector('.brxe-container'); if (container) { container.style.transform = 'translateY(' + (scrollY * 0.08) + 'px)'; container.style.opacity = opacity; } } }, { passive: true }); } /* ── Tilt Effect on Feature Cards ── */ document.querySelectorAll('.glass-card').forEach(function(card) { card.addEventListener('mousemove', function(e) { var rect = card.getBoundingClientRect(); var x = (e.clientX - rect.left) / rect.width; var y = (e.clientY - rect.top) / rect.height; var rotateX = (y - 0.5) * -8; var rotateY = (x - 0.5) * 8; card.style.transform = 'perspective(800px) rotateX(' + rotateX + 'deg) rotateY(' + rotateY + 'deg) translateY(-6px)'; }); card.addEventListener('mouseleave', function() { card.style.transform = ''; card.style.transition = 'transform 0.5s cubic-bezier(0.4, 0, 0.2, 1)'; setTimeout(function() { card.style.transition = ''; }, 500); }); }); /* ── Cursor Trail Dot ── */ if (window.innerWidth > 768) { var cursorDot = document.createElement('div'); cursorDot.style.cssText = 'position:fixed;width:8px;height:8px;background:rgba(245,200,0,0.6);border-radius:50%;pointer-events:none;z-index:9999;transition:transform 0.15s ease;mix-blend-mode:screen;'; document.body.appendChild(cursorDot); var cursorRing = document.createElement('div'); cursorRing.style.cssText = 'position:fixed;width:32px;height:32px;border:1px solid rgba(245,200,0,0.3);border-radius:50%;pointer-events:none;z-index:9998;transition:transform 0.3s ease,width 0.3s ease,height 0.3s ease,border-color 0.3s ease;'; document.body.appendChild(cursorRing); document.addEventListener('mousemove', function(e) { cursorDot.style.left = e.clientX - 4 + 'px'; cursorDot.style.top = e.clientY - 4 + 'px'; cursorRing.style.left = e.clientX - 16 + 'px'; cursorRing.style.top = e.clientY - 16 + 'px'; }); document.querySelectorAll('a, button, .btn-glow, .glass-card, .brxe-tabs .tab-title').forEach(function(el) { el.addEventListener('mouseenter', function() { cursorRing.style.width = '48px'; cursorRing.style.height = '48px'; cursorRing.style.marginLeft = '-8px'; cursorRing.style.marginTop = '-8px'; cursorRing.style.borderColor = 'rgba(245,200,0,0.6)'; cursorDot.style.transform = 'scale(1.5)'; }); el.addEventListener('mouseleave', function() { cursorRing.style.width = '32px'; cursorRing.style.height = '32px'; cursorRing.style.marginLeft = '0'; cursorRing.style.marginTop = '0'; cursorRing.style.borderColor = 'rgba(245,200,0,0.3)'; cursorDot.style.transform = 'scale(1)'; }); }); } /* ── Typing Effect on Hero Heading ── */ var heroTitle = document.querySelector('[data-label="hero-title"]'); if (heroTitle) { var words = ['AI, Not Clicks.', 'Code, Not Drag-and-Drop.', 'Agents, Not Manual Work.']; var currentWord = 0; var currentChar = 0; var isDeleting = false; var baseText = 'Build WordPress Sites with '; function typeEffect() { var word = words[currentWord]; if (isDeleting) { currentChar--; } else { currentChar++; } heroTitle.innerHTML = baseText + '<span class="gradient-text">' + word.substring(0, currentChar) + '</span><span style="border-right:2px solid #f5c800;animation:blink 1s infinite;margin-left:2px"></span>'; var speed = isDeleting ? 40 : 80; if (!isDeleting && currentChar === word.length) { speed = 2500; isDeleting = true; } else if (isDeleting && currentChar === 0) { isDeleting = false; currentWord = (currentWord + 1) % words.length; speed = 500; } setTimeout(typeEffect, speed); } setTimeout(typeEffect, 2000); } /* ── Smooth Section Reveal with Gradient Wipe ── */ var sectionLabels = document.querySelectorAll('.brxe-text-basic.section-label, [class*="section-label"]'); sectionLabels.forEach(function(label) { var observer = new IntersectionObserver(function(entries) { entries.forEach(function(entry) { if (entry.isIntersecting) { entry.target.style.backgroundSize = '100% 2px'; observer.unobserve(entry.target); } }); }, { threshold: 0.8 }); label.style.backgroundImage = 'linear-gradient(#f5c800, #f5c800)'; label.style.backgroundPosition = 'bottom center'; label.style.backgroundRepeat = 'no-repeat'; label.style.backgroundSize = '0% 2px'; label.style.transition = 'background-size 0.8s ease'; label.style.paddingBottom = '4px'; observer.observe(label); }); }); /* Blinking cursor keyframe */ var blinkStyle = document.createElement('style'); blinkStyle.textContent = '@keyframes blink{0%,100%{opacity:1}50%{opacity:0}}'; document.head.appendChild(blinkStyle); </script> <script> /* Mobile menu toggle */ (function(){ var toggle = document.getElementById("mobile-menu-toggle"); var nav = document.getElementById("header-nav-links"); if(!toggle || !nav) return; toggle.addEventListener("click", function(e){ e.stopPropagation(); nav.classList.toggle("mobile-open"); if(nav.classList.contains("mobile-open")){ toggle.className = "fas fa-times brxe-icon"; } else { toggle.className = "fas fa-bars brxe-icon"; } }); document.addEventListener("click", function(e){ if(!nav.contains(e.target) && !toggle.contains(e.target)){ nav.classList.remove("mobile-open"); toggle.className = "fas fa-bars brxe-icon"; } }); nav.querySelectorAll("a").forEach(function(a){ a.addEventListener("click", function(){ nav.classList.remove("mobile-open"); toggle.className = "fas fa-bars brxe-icon"; }); }); })(); </script> </body></html>