How to Create a Custom Page Template

[edit] Please Note

These docs are now deprecated, we have a new Support area located here

(Difference between revisions)
m (Create a Custom Page Template)
 
Line 3: Line 3:
 
==Create a Custom Page Template==
 
==Create a Custom Page Template==
  
# Install & activate either the [http://www.pagelines.com/wiki/How_to_Use_the_PageLines_Customize_Plugin#Install_the_PageLines_Customize_Plugin PageLines Customize plugin] or the [http://www.pagelines.com/wiki/How_to_Use_the_Base_Theme#Install_the_Base_Theme Base Child Theme]
+
# Install & activate the [http://www.pagelines.com/wiki/How_to_Use_the_Base_Theme#Install_the_Base_Theme Base Child Theme]
# Navigate via FTP to the respective folders
+
# Navigate via FTP to the folder
#* '''../wp-content/plugins/pagelines-customize'''
+
 
#* '''../wp-content/themes/pagelines-template-theme'''
 
#* '''../wp-content/themes/pagelines-template-theme'''
# Inside the folder you will see a file called either '''page.base.php''' (PageLines Customize Plugin) or '''page.example.php (Base Child Theme)
+
# Inside the folder you will see a file called '''page.example.php
 
# Duplicate that file & rename the duplicate to '''page.customname.php''' whereas "customname" can be anything you want
 
# Duplicate that file & rename the duplicate to '''page.customname.php''' whereas "customname" can be anything you want
 
# Now open the file & change the Template Name to whatever custom name you want
 
# Now open the file & change the Template Name to whatever custom name you want

Latest revision as of 00:02, 24 August 2012

The PageLines Framework offers several Page Templates for you to use when configuring your sections. However we realize that the ones provided either aren't always enough or their names don't match your configuration. (Ideally, we’d love to allow you to add & rename templates via the Template Editor, but because of a WordPress quirk we can’t. See the WordPress Ticket here.) Until that ticket gets resolved, you will have to add your Custom Page Templates manually.

[edit] Create a Custom Page Template

  1. Install & activate the Base Child Theme
  2. Navigate via FTP to the folder
    • ../wp-content/themes/pagelines-template-theme
  3. Inside the folder you will see a file called page.example.php
  4. Duplicate that file & rename the duplicate to page.customname.php whereas "customname" can be anything you want
  5. Now open the file & change the Template Name to whatever custom name you want
    • This is the name that will appear in the Template Setup
  6. Save the file & you're all set!

Your new Custom Page Template will appear inside the Template Setup as long as the PageLines Customize plugin or the Base Child Theme remain active.