Skip to main content

Problem:

>I’ve purchased this theme and have a question regarding “Custom Pages”. I need 6 custom pages. There are only 3 available. I’ve created 3 extra (pages 4, 5 & 6) in the “theme_options.php”. But they aren’t showing as options in the “Enabled” section under “One Page Options” menu.

Could you detail the process for me as to how to accomplish this? I’ll be adding more in the future as the site grows.

Solution:

Ok, here is an outline to what’s needed to add in more custom sections.

1 – /admin/theme-options.php (Starting line 30). Add the additional custom page blocks for the layout manager. Follow the same format as the current custom pages. NOTE: Once you add these, you will need to reset the theme options to get them to show.

2 – template-home.php (Starting line 445). You will see here that each custom page has a case for the home blocks loop. You’ll need to add in a case for each of the custom pages here.

3 – /js/functions.js.php (Starting line 12). You will need to create 3 variables in the opening tag of the file, once again copying and changing what has been used for the current 3 custom pages.

4 – /js/functions.js.php (Starting line 464). The last thing you’ll need to do is copy this if block for each additional page, making sure you change all the instances of $cpone (for example) to match the custom page you are adding.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.