-
AuthorPosts
-
April 28, 2020 at 2:15 pm #1207789
Hi there,
I created a new custom page (page-2019-ar.php) that is identical to Enfold’s default page.php file, except that I added the template name code to rename the template to “2019 AR”. However, pages that have the new custom page applied to it (like this one, for example) don’t seem to be fullwidth like the rest of the Default Template pages. Would you be able to help?
I created two pages for the comparison:
Default Page template applied to this page — with Enfold’s default page.php, PHP can be found here.
Custom page template applied (identical to default page template) to this page — PHP file can be found hereThank you for your help!
RobertaMay 4, 2020 at 8:49 am #1209452Hey Roberta,
Thank you for the inquiry.
How did you apply the new template to the page? Please note that when the Advance Layout Builder is active, the page is going to be displayed using the template-builder.php instead of the page.php file.
Best regards,
IsmaelMay 4, 2020 at 9:14 am #1209455Hi Ismael,
I applied the template by selecting it in the page attributes section, see screenshot here.
I’m not sure I fully understand the part about the Advanced Layout Builder. I believe the Advanced Layout Builder is also active on the page that is showing up properly (the one thas the default page template applied). Would it be different for the one that has the custom page template?
Thanks for all your help,
RobertaMay 10, 2020 at 1:38 am #1211552Hi,
Sorry for the late reply and thanks for the screenshot, I see in your screenshot that you are using the Advanced Layout Builder, so in that case the page is going to be displayed using the template-builder.php instead of the page.php file.
Please try basing your template on the template-builder.php instead of the page.phpBest regards,
MikeMay 11, 2020 at 6:58 pm #1211891Hi Mike,
Thank you for your response. That worked, thank you so much! This made my day :)
Best,
RobertaMay 12, 2020 at 5:25 am #1212007Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘New Custom Page issues’ is closed to new replies.