June 26, 2016 at 8:40 pm #18456JohnPCustomer
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!June 28, 2016 at 11:29 am #18464EricCustomer
Here’s how most people do it – http://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 – email@example.comJune 30, 2016 at 8:29 am #18499JohnPCustomer
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.
- You must be logged in to reply to this topic.