Skip to main content
All CollectionsCreate Pages
Create a template page
Create a template page

I'll show you how to create a template page to use in LPagery

Jonas Lindemann avatar
Written by Jonas Lindemann
Updated over 2 months ago

Creating a template page in LPagery is essential for generating dynamic and unique pages. This guide will walk you through the steps to create a template page that can be customized with dynamic placeholders, images, maps, and more.


Step 1: Create a New Template Page in WordPress

  1. Create a New Page:

    • Go to your WordPress dashboard, navigate to ‘Pages’, and click ‘Add New Page’. This blank page will be used as the template for generating your dynamic pages.


  2. Design Your Page Layout:

    • Customize the layout of your page using your preferred editor or page builder. Add any headings, text, and content elements that will remain static across all generated pages.


Step 2: Add Dynamic Placeholders

To make your template page dynamic, you will need to insert placeholders that LPagery will replace with data from your source file.

  1. Determine Your Placeholders:

    • Your placeholders should match the columns in your source file (e.g., {service}, {city}). These placeholders will be replaced with actual values when LPagery generates each page.

  2. Insert Placeholders in the Content:

    • Add placeholders in the areas of your template where you want dynamic content to appear.

    • Example:

      "The Best {service} Company in {city}"

    • When pages are generated, LPagery will replace these placeholders with the data from your source file, resulting in unique pages for each combination.

Example Generated Pages:

  • For Manhattan: "The Best Window Cleaning Company in Manhattan"

  • For Brooklyn: "The Best Floor Cleaning Company in Brooklyn"


Optional: Add Dynamic Elements

To further enhance your template page, LPagery allows you to add dynamic elements like images and widgets. These can also be controlled by placeholders from your source file.

1. Add Dynamic Images

You can replace placeholder images on each generated page based on your source file data.

2. Add Widgets (e.g., Google Maps)

You can integrate widgets, such as Google Maps, into your template to display location-specific content.

  • Google Maps Widget: Dynamically insert maps for each page based on the location data in your source file.

3. Interlink Pages Dynamically

LPagery also allows you to dynamically interlink the generated pages using placeholders.


Step 3: Publish the Template Page

Once you've added all placeholders and optional elements (images, widgets, etc.):

  1. Publish the Page:

    • Click ‘Publish’ to save your template page. This page will be used as the basis for all generated pages.

  2. Select the Template in LPagery:

    • Go to the LPagery dashboard and select the newly created template page as the base for generating pages.

Did this answer your question?