One of the most important features of PageLines the Template Setup. Using drag and drop technology, you can easily place your sections wherever you want on your site.
This guide will show you how to use the Template Setup to add new sections to your header, footer and default page template.
Contents |
Access the Template Setup by clicking on "Templates" under the PageLines Tab in your WordPress Administration Panel.
Template Setup Overview Refer to the image "Template Setup Overview"
Sections are the magic behind the drag and drop framework! You can use sections anywhere on your page to add features, highlights, banners, carousels and so much more.
Lets check out a simple example of how to use sections.
Moving Your Navigation
Select the Header Template Area and lets take a look at what we have here. You will notice there are three active sections; Site Branding, Navigation, Secondary Nav. In the image to the right you can see the PageLines Brand Image above the Navigation menu. The Secondary Nav is not visible because the menu has not been created in Wordpress.
Maybe you want your navigation above your brand image. No problem.
The sections will save automatically and you can refresh your home page to see the changes.
Drag and drop. Super simple right? So now lets change some sections on the default page template.
If you go to the home page on your site, and then look at the Default PageLines Template Setup they probably looks something like the Default Home Page image on the right. We've added some dummy text just to show where the content area will be.
Lets add a few new sections to the home page.
The changes will be saved automatically, refresh your home page to see the changes.
The default page template will be used on all new pages you create. When you are editing an individual page you can modify the page template being used. Changing sections on other page template works just the same as the default template.
In the image on the right you can see how a Highlight Section now appears inside the content area. There is a also a highlight section above the content which spans the full page. Using sections in the Content Area will give you great control over your page layouts.
You may notice that there is an options button on every section. Click it and you will find the global option to "Hide This By Default".
Checking this box and saving your settings will make that section disappear on any page that is currently active for. You can then go into specific pages and used the Meta Settings to show individual sections on that page.
This can be very useful if you want to use the same page type on multiple different pages but want different sections to appear on those pages.
For example you could use the Default Page Template on two different pages. Use a Feature Slider Section and Boxes Section and hide them both by default. On page one you could activate only the Feature Slider and on page 2 you could activate only the Boxes Section. Try it out!
On some sections you will notice a Clone button inside the section setting.
Cloning allows you to use the same section more than once on the same page.
Lets add a second image carousel to the page we created before.
A Highlight#2 Section will appear below the original Highlight Section with the same drag and drop control as the first.
Refresh your page to see the changes.
You can now modify the settings for the individual Highlight Sections from the Meta Settings on individual Pages.
PageLines comes equipped with some cool sections you can use but there are even more options! Check out the PageLines Store for all the great new sections built by members of the community!