' . esc_html__('Please sign in to access the AI Builder settings.', 'ai-builder') . '
'; return; } // Get theme slug for Site Editor URLs $theme_slug = wp_get_theme()->get_stylesheet(); $header_url = admin_url('site-editor.php?postType=wp_template_part&postId=' . urlencode($theme_slug . '//header') . '&canvas=edit'); $footer_url = admin_url('site-editor.php?postType=wp_template_part&postId=' . urlencode($theme_slug . '//footer') . '&canvas=edit'); ?>

Generate Headers & Footers with AI

Learn how to create custom headers and footers for your site using AI Builder

1

Generate Your Header

Create a custom header for your site

  1. Open the Site Editor: Go to Header Editor →
  2. Use the AI chat widget in the bottom-left corner
  3. Describe your header (e.g., "Create a modern header with logo, navigation menu, and CTA button")
  4. Click Generate and let AI create your header
2

Generate Your Footer

Create a custom footer for your site

  1. Open the Site Editor: Go to Footer Editor →
  2. Use the AI chat widget in the bottom-left corner
  3. Describe your footer (e.g., "Create a footer with company info, links, and social media icons")
  4. Click Generate and let AI create your footer

Pro Tips

  • Be specific in your prompts for better results (e.g., mention colors, layout, elements)
  • You can edit the generated content using the CSS and JS buttons in the chat widget
  • Headers and footers are template parts, so they'll be applied site-wide
  • You can regenerate parts if you're not satisfied with the first result