Jump to content
Sign in to follow this  
joie

How to add new template page into the platformbase

Recommended Posts

joie

I want to add new 'Landing Page' template just below the 'Custom Page' template What I did was to modify the line in functions.php of platformbase if ( function_exists( 'pagelines_add_page' ) ) { pagelines_add_page('base', 'Custom Page'); pagelines_add_page('base', 'Landing Page'); } The result however is only renaming the drop down menu item from 'Custom Page' to 'Landing Page' No new page template has been created. What file name i should create ? thx u regards, joie

Share this post


Link to post
Share on other sites
joie

Found it, Here's how to do it : At platformbase folder : 1. copy page.base.php 2. rename the copy to page.landing.php 3. edit the functions.php 4. edit the line as follow: if ( function_exists( 'pagelines_add_page' ) ) { pagelines_add_page('base', 'Custom Page'); pagelines_add_page('landing', 'Landing Page'); } Now when I am at the Platform Pro Template Setup, i can see both Custom Page and Landing Page

Share this post


Link to post
Share on other sites
Kate

That's correct... you can find the instructions in the functions.php file of the base folder ;)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×