Multiple Landing Pages

Homepage Community Forums Aspire Theme Support Multiple Landing Pages

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #18456
    JohnP
    Customer

      I need to create multiple landing pages based on the front-page.php look. Duplicating this php file is straight forward, so is adding new widget areas to the functions.php file and substituting those new widget areas for the original widget areas in the duplicated front-page.php file. Likewise turning this new php file into a template that can be used to convert a page is straight forward (by adding “// Template Name: New Landing Page Template Name Here” just after the “<?php” at the beginning of the file).

      What I would like help in is with where and how the code on the new-front-page.php file would be altered to get things going.

      Thank you and cheers!

      #18464
      Eric
      Customer

        Here’s how most people do it – https://appfinite.com/topic/home-page-layout-to-be-applied-to-internal-pages/#post-9566

        The “Custom Sidebars” plugin should help. There are other plugins as well, but that’s the one I’ve seen used most.


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

        #18499
        JohnP
        Customer

          Thanks Eric

          When I copy the front-page.php (page-home.php) file and turn it into a template and assign that template to a page (page-x) and then populate a widget area, I do get the front page and page-x turning into a landing page; however, the css on page-x is screwed up. This is odd as it should be calling the same css as the front landing page – so something is amiss.

          Furthermore, when I create separate widget areas on a page-x template (and register them in the functions.php file of course) and then populate them, page-x does not show ANY content and I do not know why.

          I had emailed a job/quote request to Wes to create a separate php file that would strip out the if/then structure (if a widget area is occupied then…) and have it as an available template to assign to a page that would turn it into a landing page that would look the same as the Aspire theme landing page. I could then clone that file and create (and register) new widget areas and apply the cloned file to another page and have yet another landing page (rinse and repeat) – but I never heard back from him.

          I can see that this is a simple task but the code is all Greek to me.

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