ShahiLanding

Template Builder

The Template Builder is ShahiLandin’s next-generation landing page creation system. It provides a guided, wizard-based experience for building high-conversion landing pages with brand consistency, personalization, and AI-powered assistance.

Overview

The Template Builder introduces several advanced features:

    1. Brand Tokens: Centralized management of colors, typography, logos, and motion preferences
    2. Dynamic Data Sources: Hydrate testimonials, product cards, and content without custom coding
    3. Personalization Lab: Create contextual variants based on geography, UTM parameters, or device type
    4. AI Assistant: Get deterministic copy suggestions and CTA optimization with audit logging
    5. Marketplace: Install curated layouts from the community
    6. A/B Experiments: Set up split tests with one-click integration
    7. Analytics Snapshot: View engagement metrics while editing
    8. Accessing the Template Builder

    9. Go to Landing Pages > Template Builder in WordPress admin
    10. The wizard interface loads with a guided workflow
    11. Note: The Template Builder must be enabled in plugin settings. Administrators can toggle it via:

    12. Settings > ShahiLandin > Template Builder Enabled
    13. The Template Builder Wizard

      Step 1: Brand Basics

      Configure your brand identity tokens that will be used throughout the landing page.

      Brand Colors

      Define your brand’s color palette:

    14. Primary Color: Main brand color (e.g., #FF5733)
    15. Secondary Color: Accent color for CTAs and highlights
    16. Background Colors: Light and dark background options
    17. Text Colors: Primary and secondary text colors
    18. Palette Management:

    19. Save multiple color palettes for different campaigns
    20. Import colors from existing landing pages
    21. Generate accessible color combinations automatically
    22. Typography

      Set up your brand fonts:

    23. Heading Font: Used for H1, H2, H3 elements (e.g., “Montserrat”, “Roboto”)
    24. Body Font: Used for paragraphs and general text
    25. Font Weights: Choose from 300, 400, 600, 700, 900
    26. Font Sizes: Define responsive sizing scales
    27. Font Sources:

    28. Google Fonts (automatic loading)
    29. Adobe Fonts (with kit ID)
    30. Custom web fonts (upload WOFF2 files)
    31. Logos & Assets

      Upload brand assets:

    32. Primary Logo: Main logo for headers (PNG, SVG)
    33. Alternate Logo: Light/dark variants for different backgrounds
    34. Favicon: Browser tab icon
    35. Social Share Images: Default OG images for social sharing
    36. Motion Preferences

      Configure animation behavior:

    37. Enable Animations: Toggle scroll animations and transitions
    38. Animation Speed: Choose Slow, Normal, or Fast
    39. Respect Prefers-Reduced-Motion: Accessibility setting for motion-sensitive users
    40. REST API Endpoint: /wp-json/shahilandin/v1/template-builder/brand-tokens

      Step 2: Template Selection

      Choose a starting template or begin with a blank canvas.

      Template Categories

      High-Converting Templates:

    41. Lead generation forms
    42. Product launches
    43. Webinar registrations
    44. eBook downloads
    45. Industry-Specific:

    46. SaaS product pages
    47. E-commerce promotions
    48. Real estate listings
    49. Event registrations
    50. Blank Canvas:

    51. Start from scratch with brand tokens applied
    52. Full flexibility for custom layouts
    53. Template Preview

    54. View live previews of templates with your brand colors
    55. See desktop and mobile layouts side-by-side
    56. Review included sections (hero, features, testimonials, CTA)
    57. Marketplace Integration

      Browse and install templates from the ShahiLandin Marketplace:

    58. Click Browse Marketplace
    59. Filter by category, popularity, or rating
    60. Preview template with your brand tokens
    61. Click Install Template to add to your library
    62. REST API Endpoint: /wp-json/shahilandin/v1/template-builder/marketplace

      Step 3: Section Builder

      Customize your landing page sections with drag-and-drop simplicity.

      Available Section Types

      Hero Section:

    63. Headline, subheadline, CTA button
    64. Background image or video
    65. Optional lead capture form
    66. Features Grid:

    67. Icon + text blocks (3, 4, or 6 columns)
    68. Automatic responsive layout
    69. Connect to Dynamic Data Sources
    70. Testimonials:

    71. Customer quotes with photos
    72. Star ratings and attribution
    73. Carousel or grid layout
    74. Pricing Tables:

    75. Up to 4 pricing tiers
    76. Feature comparisons
    77. Highlighted “recommended” option
    78. FAQ Accordion:

    79. Expandable question/answer pairs
    80. Search functionality
    81. Schema markup for SEO
    82. Contact Forms:

    83. Email, name, phone, message fields
    84. Spam protection with honeypot
    85. Integration with WordPress form handlers
    86. Custom HTML:

    87. Embed external widgets
    88. Insert custom code blocks
    89. Section Customization

      For each section, configure:

    90. Layout: Column count, spacing, alignment
    91. Styling: Background color/image, borders, shadows
    92. Content: Dynamic or static text/images
    93. Animations: Entrance effects, parallax scrolling
    94. Dynamic Data Sources

      Connect sections to data sources for automatic content population:

    95. Click Connect Data Source on a section
    96. Choose source type: Testimonials, Products, Team Members, Blog Posts
    97. Map source fields to section placeholders
    98. Set display count and filtering rules
    99. Example: Connect a Testimonials section to your customer reviews database to automatically display rotating quotes.

      REST API Endpoint: /wp-json/shahilandin/v1/template-builder/data-sources

      Step 4: Content & Styling

      Fine-tune your content and apply global styling.

      Content Editor

      Edit text content inline:

    100. Click any text element to edit
    101. Apply formatting (bold, italic, links)
    102. Insert merge tags for personalization
    103. Use AI Assistant for copy suggestions
    104. AI Assistant

      Access AI-powered content help:

    105. Select a text block
    106. Click the AI Assistant icon
    107. Choose an action:
    108. Improve Copy: Get clarity and conciseness suggestions
      Shorten/Lengthen: Adjust word count
      Generate CTA: Create compelling call-to-action text
      A/B Variations: Generate alternative copy for testing

      Features:

    109. Deterministic output (consistent results)
    110. Audit logging of AI suggestions
    111. Human approval required before applying
    112. REST API Endpoint: /wp-json/shahilandin/v1/template-builder/ai

      Global Styling

      Apply styling across all sections:

    113. Spacing: Adjust padding and margins globally
    114. Borders: Set border radius and width
    115. Shadows: Configure depth and offset
    116. Responsive: Preview and adjust for mobile, tablet, desktop
    117. Step 5: Personalization Lab

      Create contextual variants of your landing page for different audiences.

      Personalization Rules

      Define conditions for showing different content:

      Geographic Personalization:

    118. Show different messaging by country/region
    119. Adjust CTAs for local time zones
    120. Display location-specific contact info
    121. UTM Campaign Tracking:

    122. Customize headlines based on UTM parameters
    123. Show relevant offers for traffic sources
    124. Track campaign-specific conversions
    125. Device Targeting:

    126. Mobile-specific content and CTAs
    127. Desktop-only sections
    128. Tablet-optimized layouts
    129. Creating Variants

    130. Click Add Personalization Rule
    131. Select condition type (Geo, UTM, Device)
    132. Define the condition (e.g., “Country = United States”)
    133. Customize content for that segment
    134. Preview the variant with context chips
    135. Example:

    136. Condition: UTM Source = Facebook
    137. Customization: Change headline to “Welcome from Facebook!” and adjust hero image
    138. REST API Endpoint: /wp-json/shahilandin/v1/template-builder/personalizations

      Preview Context Chips

      Test personalizations in real-time:

    139. Click context chips to simulate different visitors
    140. Preview geo-specific content
    141. Test UTM parameter combinations
    142. Switch between device types
    143. Step 6: Review & Launch

      Final review before publishing your landing page.

      Pre-Launch Checklist

      The wizard automatically checks:

    144. ✓ All required fields completed
    145. ✓ Brand tokens applied consistently
    146. ✓ Mobile responsiveness verified
    147. ✓ Forms connected to handlers
    148. ✓ Analytics tracking configured
    149. ✓ SEO meta tags present
    150. Launch Options

      Save as Draft:

    151. Continue editing later
    152. Share preview link for team review
    153. Schedule for future publication
    154. Publish Immediately:

    155. Make the landing page live
    156. Enable analytics tracking
    157. Activate personalization rules
    158. Schedule Publication:

    159. Set a future publish date/time
    160. Automatically goes live at scheduled time
    161. Create A/B Experiment:

    162. Generate a variant for split testing
    163. Set traffic split percentage (50/50, 75/25, etc.)
    164. Choose experiment duration
    165. Autosave and Drafts

      The Template Builder automatically saves your progress:

    166. Autosave triggers every 60 seconds
    167. Manual save via Save Draft button
    168. Drafts stored via /wp-json/shahilandin/v1/template-builder/drafts endpoint
    169. Resume from Landing Pages > Drafts in admin
    170. Experiments & A/B Testing

      Launch split tests directly from the Template Builder:

    171. Complete your landing page in the wizard
    172. Click Create A/B Experiment in Review & Launch
    173. Configure experiment settings:
    174. Variant Name: e.g., “CTA Test – Green Button”
      Traffic Split: Percentage of visitors for each variant
      Duration: How long to run the test (days)
      Goal: Primary conversion metric (form submissions, clicks)

    175. Template Builder generates the variant
    176. Edit the variant to make changes (headline, CTA color, etc.)
    177. Launch the experiment
    178. Analytics Integration:

    179. View experiment performance in the Analytics Snapshot
    180. Winner declared automatically based on statistical significance
    181. Export results to CSV for reporting
    182. REST API Endpoint: /wp-json/shahilandin/v1/template-builder/experiments

      Analytics Snapshot

      Monitor engagement metrics without leaving the editor:

    183. Page Views: Real-time visitor count
    184. Conversion Rate: Form submissions or goal completions
    185. Bounce Rate: Percentage of single-page visits
    186. Engagement Delta: Comparison to previous period
    187. Refresh Rate: Metrics update every 5 minutes

      REST API Endpoint: /wp-json/shahilandin/v1/template-builder/analytics

      Marketplace

      Install professionally designed templates from the community:

      Browsing the Marketplace

    188. Go to Template Builder > Marketplace tab
    189. Browse categories or search by keyword
    190. Filter by:
    191. Price: Free, Premium
      Industry: SaaS, E-commerce, Events, etc.
      Rating: 4+ stars, 5 stars
      Popularity: Most downloaded

      Installing Templates

    192. Click on a template card to view details
    193. Preview with your brand tokens
    194. Read reviews and ratings
    195. Click Install to add to your library
    196. Find installed templates in Template Selection step
    197. Creating Marketplace Templates

      Share your designs with the community:

    198. Complete a landing page in Template Builder
    199. Click Submit to Marketplace
    200. Fill out template details (description, category, preview images)
    201. Set pricing (free or premium)
    202. Submit for review by ShahiLandin team
    203. Template Builder Settings

      Administrators can configure Template Builder options:

      Enabling/Disabling Template Builder

    204. Go to Settings > ShahiLandin
    205. Find Template Builder Enabled option
    206. Toggle on/off
    207. Save changes
    208. API Configuration

      Configure external service integrations:

    209. AI Assistant API Key: OpenAI or custom endpoint
    210. Analytics Provider: Mixpanel, Google Analytics 4
    211. Marketplace URL: Custom marketplace instance
    212. Telemetry

      Control operational telemetry and alerts:

    213. Telemetry Enabled: Toggle event delivery
    214. Mixpanel Token: For event tracking
    215. GA4 Measurement ID: Google Analytics integration
    216. Slack Webhook: Operational alerts
    217. Permissions

      Template Builder access requires:

    218. Capability: manageshahilandings
    219. Default Roles: Administrator, Editor
    220. Custom permissions can be granted via WordPress user roles and capabilities.

      Tips for Using Template Builder

    221. Start with Brand Basics: Complete brand tokens first for consistency
    222. Use Templates: Don’t start from scratch unless necessary
    223. Test Personalizations: Preview all variants before publishing
    224. Run Experiments: A/B test headlines and CTAs for optimization
    225. Monitor Analytics: Check the Analytics Snapshot regularly
    226. Save Drafts Often: Use manual save for peace of mind
    227. Leverage AI: Let the AI Assistant help with copy, but always review

For HTML imports and legacy workflows, see the HTML Importer article.

Share this article

Was this article helpful?

Help us improve our documentation

Still need help?

Our support team is ready to assist you with personalized guidance for your workspace.

Submit a support ticket