Skip to content

LeadPages Documentation

Menu Location: Settings > Content > LeadPages

Access Level: Administrator and above

Last Updated: 2026-03-02


Overview

The LeadPages page (content.php?page=leadpages) manages embedded landing page content within the content management system. LeadPages is an external landing page builder service. This admin page allows you to upload HTML files exported from LeadPages and embed them into your site's content pages, providing professionally designed landing pages within your website framework.

Primary Functions:

  • Upload HTML landing page files exported from LeadPages
  • Embed uploaded content into site content pages
  • View list of pages with LeadPage embeds
  • Remove embedded LeadPage content from pages

How the System Works

Integration Flow

  1. Design in LeadPages: Create a landing page in the LeadPages service (external)
  2. Export HTML: Export the page as an .htm or .html file
  3. Upload to Admin: Upload the file through this admin page
  4. Embed into Content: HTML content is stored in the embed_leadpage field of the content record
  5. Display: Visitors see the LeadPage content when visiting the associated page

File Requirements

  • Accepted formats: .htm and .html files only
  • The file content is read and stored directly in the database
  • External resources (CSS, images, scripts) referenced by the file must remain accessible

How to Use

Uploading a LeadPage File

  1. Navigate to Settings > Content > LeadPages
  2. Select an .htm or .html file from your computer
  3. Click upload/submit
  4. The HTML content is stored in the content page's embed_leadpage field

Removing Embedded Content

  1. Find the page with the embed you want to remove
  2. Click the remove action
  3. The embed_leadpage field is cleared and the page reverts to standard content

Common Use Cases

Marketing Campaign Landing Page

Upload a LeadPages-designed landing page for a promotional campaign. Link to it from emails, ads, and social media.

Seasonal Promotion Page

Temporarily embed a seasonal landing page, then remove the embed when the promotion ends.

Lead Capture Page

Embed a page with signup forms designed in LeadPages. Form submissions go wherever LeadPages was configured to send them.


Tips & Best Practices

  1. Name HTML files descriptively before uploading
  2. Test the HTML file in a browser locally before uploading
  3. Keep backups of uploaded files
  4. Ensure embedded forms and scripts work correctly after upload
  5. Remove old embeds when campaigns end to keep the site clean
  6. Check that external resources (fonts, images) are still accessible

Troubleshooting

Embedded Content Displays Incorrectly

  • The HTML may reference external resources hosted on LeadPages servers
  • Check for mixed content issues (HTTP resources on HTTPS page)
  • Some designs rely on JavaScript that may conflict with site scripts

Forms Not Working

  • Form action URLs must be absolute (full URLs), not relative
  • CORS restrictions may prevent cross-domain submissions
  • Check browser console for JavaScript errors

Old Content Persists After Removal

  • Clear Cloudflare cache for the affected page
  • Clear browser cache and reload
  • Try incognito/private browser window

FAQ

Do I need a LeadPages account?

Yes, to design and export landing pages. This admin page only handles uploading and embedding of exported HTML files.

Can I upload any HTML file?

The upload accepts any .htm/.html file, though the feature is designed for LeadPages exports specifically.

What happens to original page content when I embed?

The LeadPage embed takes precedence. The original content is not deleted - removing the embed restores it.


  • Content Overview (content.php) - Main content management
  • Front Page - Homepage content management
  • URL Redirects - URL redirect management for landing page URLs