The Base Theme for PageLines 2.0 has several different uses. Developers can use it as a reference for creating their own child themes for the PageLines Store. It can also be used for inserting your own custom CSS & PHP coding into your website, just like the PageLines Customize Plugin. However, the Base Theme goes a step further in that you can also use it to customize PageLines 2.0 core Sections without them being wiped clean whenever you update PageLines 2.0.
Contents |
Many people have asked "What's the difference between the Base Theme and the PageLines Customize plugin? or "Why should I choose one method over the other?" Both methods contain their own style.css & functions.php files that you can edit & add your own customization. Either way you can customize your site while keeping your files intact when you apply a core update.
The advantage of the Child Theme is that you can customize PageLines 2.0 core sections without losing any edits when you update the core. The disadvantage is that you can't then install a 3rd party child theme through the store and update it, as you will lose your edits.
The advantage of the PageLines Customize Plugin is that you can update the core files and a 3rd party child theme and still keep your edits. The disadvantage is that sections folder isn't scanned in to the plugin. So any changes you make to the core sections will be lost when updating.
If neither of those scenarios apply, it's really up to your preference on which method you choose.
If for some reason you are using both the Base Theme and the PageLines Customize plugin, any custom code entered in the PageLines Customize plugin will take priority over any code in the Base Theme that contain changes for the same div container or class.
You can also add custom CSS via the Custom Code tab located in the PageLines=>Settings menu. The Custom Code tab is a simple quick way to add custom styles to your current site design, however it is not necessarily considered the preferred method. Using the Base Theme to make your CSS changes is preferred for several reasons:
Any custom code entered in the Custom Code Setting will take priority over any code in the Base Theme that contain changes for the same div container or class.
For more information on CSS & how it relates to PageLines 2.0, click on CSS Customization
The Base Theme is available for free in the PageLines Store.
From your WordPress Administration Panel:
You will now see the Base Theme located inside: /wp-content/themes/pagelines-template-theme
There are two files in the Base Theme for customizing your site: style.css & functions.php.
Editing the style.css file, you can apply custom CSS to your theme.
Editing the functions.php file, that you can add pretty much anything else.
You can edit these files directly using a good Text Editor via FTP:
/wp-content/themes/pagelines-template-theme
You can also access the files using WordPress:
From your WordPress Administration Panel:
For more information on CSS & how it relates to PageLines 2.0, click on CSS Customization
If you would like to make custom changes to any of the core Sections, you can easily do so through the Base Theme. This method is preferred over editing the core files directly, because
To make changes to a core Section:
Now any changes you make to the section inside the Base Theme will be reflected on your site as long as the Base Theme is active.