Customizing page.php
-
Hi everyone,
In the past I have made many custom page templates for other WordPress themes, for example Twenty Sixteen. In this theme it was very easy to make a template by copying the page.php file to the folder of the child theme, and make some changes to it (for example for including other php files).
At this moment I am exploring the Hueman theme as I would like to go for another look for a new project. Unfortunately it seems much more difficult in the Hueman theme to make page templates, or maybe am I missing something?
For example, I just would like to use a template in order to use the php include command below the content of a certain page. (In fact, the content as written in the WordPress backend does not have to show up at all, as for my frontpage I prefer to put everyting in the included php file.)
I have been trying to remove the
<?php hu_get_content( 'tmpl/page-tmpl'); ?>line as used in page.php, and include a file which contains all the content I would like to show on the front page, but it doesn’t seem to be possible to remove this line.Any advice would of course be very much appreciated!
Martijn
The topic ‘Customizing page.php’ is closed to new replies.
