Override Sections

There may come a point during your design process where a section doesn't provide a specific function required for your design, such as header tag changed from <h3> to <h2>. This is where override sections or child sections are used. In PageLines DMS overriding sections is a very straight forward process.

How to Override Sections

To begin, let's make sure we are using the Base Theme customization method, as this is the only method which supports overriding sections. Make sure Base Theme is installed from our Store.

Once we have determined that the Base Theme is our customization method, we need to download a fresh copy of DMS from your PageLines Account . Once downloaded, extract the dms.zip and navigate to pagelines → sections, here you will find multiple folders each representing the core sections included with PageLines DMS.

Locate the section in which you wish to override or customize, for this example we will be overriding the iBox section. Now open your FTP client, connect to your server and navigate to the following directory: /wp-content/themes/dms-template-theme/sections/.

Upload the iBox section folder to Base Theme at /wp-content/themes/dms-template-theme/sections/ as a folder and like magic, we have a child section of iBox, ready for us to modify.

 dms-template-theme/
     sections/
         ibox/
     functions.php
     info.txt
     page.example.php
     screenshot.png
     setup.php
     style.css
     thumb.png

You can edit the section by opening the section.php file in your code editor. Once saved, your changes will override the previous section, when the Base Theme is activated.

Support ScopeĀ 

Please be aware that our support team will be able to provide limited support for child sections, as this is considered user-created code. If you have any issues or errors related to your own custom code, we recommend contacting one of the PageLines Pros. Our support team are not developers and unable to diagnose your code.