### Placeholder Link Example Source: https://intercom.help/lpagery/en/articles/10242408-add-hyperlinks-to-placeholder-values An example of how a hyperlink formatted within a placeholder column appears in the source file. ```html Click here for more information. ``` -------------------------------- ### Example LPagery Source File with HTML Source: https://intercom.help/lpagery/en/articles/10349166-insert-formatted-content-in-to-the-created-pages This example demonstrates how to structure a source file using HTML tags within a table format for LPagery. The HTML content is embedded directly into the data cells. ```html city| city_text ---|--- New York| `
Welcome to {city}, the city that never sleeps.
` Los Angeles| `Discover {city}, the home of Hollywood.
` ``` -------------------------------- ### Basic Next Page Link Example Source: https://intercom.help/lpagery/en/articles/10011936-interlink-pages-with-each-other This is a basic example of the shortcode to link to the next page. The `title` parameter is set to 'Next'. ```Shortcode [lpagery_link position="NEXT" title="Next" circle=true target="_blank"] ``` -------------------------------- ### Example source file structure for custom taxonomies Source: https://intercom.help/lpagery/en/articles/10012237-adding-custom-taxonomies-to-the-created-pages A sample table layout showing how to include taxonomy columns alongside standard data fields in a source file. ```text service| city| lpagery_taxonomy_region| lpagery_taxonomy_topic Window Cleaning| Manhattan| region1>subregionA| topic1|topic2 Floor Cleaning| Brooklyn| region2>subregionB| topic2 Ceiling Cleaning| Queens| region1>subregionC| topic1 ``` -------------------------------- ### Example of Spintax in a Template Sentence Source: https://intercom.help/lpagery/en/articles/10012244-insert-dynamic-content-spintax This example demonstrates how to apply spintax to vary descriptive words within a sentence. LPagery will randomly choose one of the provided synonyms for 'best' and replace '{city}' with the actual city name from your data source. ```text The {best|finest|greatest|top} Restaurant in {city} ``` -------------------------------- ### Insert Dynamic Placeholders in Content Source: https://intercom.help/lpagery/en/articles/10011295-create-a-template-page Use placeholders in your template content that match your source file columns. LPagery will replace these with actual data during page generation. ```text "The Best {service} Company in {city}" ``` -------------------------------- ### Link to Next Page with Loop and New Tab Source: https://intercom.help/lpagery/en/articles/10011936-interlink-pages-with-each-other Use this shortcode to link to the next page in sequence, with looping enabled and the link opening in a new tab. The `title` parameter sets the link text. ```Shortcode [lpagery_link position="NEXT" title="Next Page" circle=true target="_blank"] ``` -------------------------------- ### Add Next and Previous Page Links Source: https://intercom.help/lpagery/en/articles/10011852-display-lists-views-of-created-pages Use these shortcodes to create navigation buttons for sequential pages. Ensure these are placed where you want the links to appear on your template page. ```shortcode [lpagery_link position="PREVIOUS" title="Previous" circle=true target="_blank"] ``` ```shortcode [lpagery_link position="NEXT" title="Next" circle=true target="_blank"] ``` -------------------------------- ### Define AI content generation instructions Source: https://intercom.help/lpagery/en/articles/11161782-create-ai-content-with-lpagery Use this instruction format within an AI column to generate SEO-optimized text, utilizing placeholders like {service} and {city} to pull data from your content sheet. ```text Write a 100-word SEO-optimized paragraph about our {service} services in {city}, mentioning why customers should choose us. ``` -------------------------------- ### Add External Hyperlinks Source: https://intercom.help/lpagery/en/articles/10242408-add-hyperlinks-to-placeholder-values Use standard HTML anchor tags to link to external websites within your source file placeholders. ```html This is a link to a website. And this is some other text. ``` -------------------------------- ### Shortcode [lpagery_link] - Slug Based Source: https://intercom.help/lpagery/en/articles/10011936-interlink-pages-with-each-other Links to a specific page by its slug, supporting dynamic placeholders from the source file. ```APIDOC ## [lpagery_link] (Slug Based) ### Description Creates a link to a specific page identified by its slug. Supports dynamic data injection using placeholders. ### Parameters #### Query Parameters - **slug** (string) - Required - The slug of the target page. Can be a hardcoded string or a placeholder (e.g., {link_to}). - **title** (string) - Optional - The display text for the link. Can be a hardcoded string or a placeholder (e.g., {link_title}). ### Request Example [lpagery_link slug="{link_to}" title="{link_title}"] ``` -------------------------------- ### Common HTML Tags for Formatting Source: https://intercom.help/lpagery/en/articles/10349166-insert-formatted-content-in-to-the-created-pages These are basic HTML tags that can be used to format text within LPagery source files. Ensure the user has the 'unfiltered_html' permission in WordPress. ```html Your text ``` ```html Your text ``` ```htmlYour text
``` ```html Your text ``` -------------------------------- ### Define custom taxonomy column headers in source files Source: https://intercom.help/lpagery/en/articles/10012237-adding-custom-taxonomies-to-the-created-pages Use the format lpagery_taxonomy_{taxonomy_name} as a column header in your source file to map taxonomy values to generated pages. ```text lpagery_taxonomy_region ``` ```text lpagery_taxonomy_region → north-america ``` ```text lpagery_taxonomy_region → north-america|europe ``` ```text lpagery_taxonomy_region → north-america>usa>california ``` -------------------------------- ### Dynamic Link to Berlin Page Source: https://intercom.help/lpagery/en/articles/10011936-interlink-pages-with-each-other This shortcode dynamically links to the 'berlin' page using placeholders for the slug and title, pulling data from the source file. It results in an anchor tag with the class 'lpagery_link_anchor'. ```Shortcode [lpagery_link slug="{link_to}" title="{link_title}"] ```