Tagged: child theme
-
AuthorPosts
-
February 22, 2018 at 4:04 pm #916149
Hey,
I followed the instructions at https://kriesi.at/documentation/enfold/using-a-child-theme/ to set up a child theme, then imported the settings, and the main website (home page, blog, etc) works fine.
However when I try creating a page template, it just shows a blank white page and isn’t displaying the code within the template correctly. I’m able to select the page template in the drop-down menu when editing the page within WP Admin, but when I publish the page, it just comes up without the HTML code being processed. I’m also getting a few “ERR_ABORTED” errors in the console, despite the paths to the files being correct.
See here: https://www.digitalprosperity.com/the-prosperity-formula-new-graphics/ .
My template file consists of:
<?php /** * Template Name: TPF Download Page */ get_header(); ?>
… Then the HTML code I want to display, which at this point is just “testing” text, then this at the end…
<?php get_sidebar(); get_footer(); ?>
Any help?
Thanks,
– James.February 22, 2018 at 8:18 pm #916291Hey jamesf1989,
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,
BasilisFebruary 22, 2018 at 10:11 pm #916365Why would it require a lot of time simply to create one page within a child theme? What would I need to do?
If you could give me a quick outline, I’ll be able to see whether it’s worth hiring someone to do.
Thanks,
– James.February 23, 2018 at 8:14 pm #916838Hi,
I am sorry – I checked it fast and I shouldnt.
You have been missing the_content();
so it can load the content of the page.Best regards,
BasilisFebruary 23, 2018 at 8:52 pm #916865Ah never mind, I got it to work by not using the OptimizePress plugin to create the new page, but instead doing it within the WordPress admin area.
Thanks though – will keep the above in mind for the future.
Have a great weekend,
– James.February 24, 2018 at 8:14 am #917018Hi James,
Great, glad you got it working and thanks for the feedback. Please let us know if you should need any further help on the topic or if we can close it, hope you are having a great weekend as well :-)
Best regards,
RikardsFebruary 24, 2018 at 3:23 pm #917129Yeah, feel free to close this thread :-)
Thanks,
– James.February 25, 2018 at 4:25 am #917264 -
AuthorPosts
- The topic ‘Child Theme Template Not Displaying?’ is closed to new replies.