-
AuthorPosts
-
January 9, 2019 at 7:18 pm #1052038
How can I create a page template using one of the included ones as an example? Duplicate and rename the file so I can use it.
I need to create 50 pages that will have exactly the same structure, so I need a template ready for them and to just add the content I need in each one of them.
Thank you.
January 9, 2019 at 7:21 pm #1052041Just create the page how you want it to look then click on templates and Save entry as template.
January 10, 2019 at 12:19 pm #1052308Hi peterolle,
Please follow DigitalEssence instruction, it is how we save and reuse page templates.
@DigitalEssence thanks for helping out :)Best regards,
NikkoJanuary 10, 2019 at 6:33 pm #1052425Thank you.
If I need to add some code in them ?
How can I have a template file, for example for adding Adsense code or any other code I need.
- This reply was modified 5 years, 9 months ago by peterolle.
January 10, 2019 at 6:38 pm #1052431Hi,
I copy the header.php file from the enfold directory and place it into my child theme then just add any code in the appropriate place.
You can add Google Analytics Tracking Code via the theme: Google Services but I like to keep everything in php files.
January 10, 2019 at 6:49 pm #1052439And if I need to add conditionals?
If user is registered show this PHP, if not, this other PHP.
That is why I need to have a template, to modify it as needed.
Thanks.
January 10, 2019 at 9:16 pm #1052507Hi peterolle,
Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)
Best regards,
VictoriaJanuary 11, 2019 at 12:45 pm #1052726When publishing a page I have at the right, “template” with archives and blank options.
I need a third one, using the normal page file that I want to modify.
That is not possible with Enfold ?
Any theme lets me do this.
Thank you.
January 11, 2019 at 2:50 pm #1052759Just create a new template file.
January 11, 2019 at 5:34 pm #1052803Hi peterolle,
Here is a thread for you to consider
If you need further assistance please let us know.
Best regards,
VictoriaJanuary 12, 2019 at 11:40 am #1053035Thank you, that worked.
January 12, 2019 at 6:31 pm #1053185Hi peterolle,
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.