home page layout to be applied to internal pages

Homepage Community Forums Epik Theme Support home page layout to be applied to internal pages

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9562

    Hi,

    is it possible to apply the homepage layout to internal page? like having those different colored sections. Please advise on where to start if possible.

    THanks

    #9566
    Eric
    Customer

      Yes you can do this. I’ve answered a couple posts here in the forums, but I couldn’t find them when I tried to search. To get started, all you would need to do is duplicate the home.php file and change the file name to page_home.php. Then you’ll need to convert it to a template file that you will select on the page you’re using it on by adding this to the top of the file (right under the first <?php) –

      // Template Name: Home Template

      That will convert it to a template.

      Then comes the hard part – If you add content inside any of the home widgets they’ll show up on this page, as well as the homepage. In order to separate them you could either use a multiple sidebar plugin like “Custom Sidebars” or rename all of the widgets to different labels and then register those names in your functions.php file. If you choose the plugin route, then it will allow you to use the same widget location to show different content on multiple pages.


      I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

    Viewing 2 posts - 1 through 2 (of 2 total)
    • You must be logged in to reply to this topic.