Tagged: child theme, default, page, template
I created a child theme for Enfold and want to modify the default page template.
I copied over page.php fromt the /enfold folder over to my child theme, but it doesn’t seem to do anything when I add changes to it. I also tried index.php but with the same result.
Thanks
Hey mike235,
The default pages are found in Enfold root directory:
page.php for pages, archive.php for categories, single.php for single posts, e.t.c.
Best regards,
Jordan Shannon
Copying over page.php and including changes to it doesn’t seem to change anything when I look at a sample page. Same when I edit page.php directly in the /enfold root.
Hi,
Have you cleared the cache a few times over?
Best regards,
Jordan Shannon
I figured it out, it’s actually template-builder.php that serves as the default page template when you use the Advanced Layout Builder. I copied that file over to my child theme and modified it and now I can see the changes on my test page.
Hi,
Perfect! Did you need additional help or shall we close this topic?
Best regards,
Jordan Shannon
You can close the topic, thanks.
Hi,
Thank you for letting us know, we appreciate it
Best regards,
Basilis