Making a child theme before making a page template
-
I am about to make a homesite in wp, and I have already read a lot of manauals i the codex and a few other places.
There is one thing, where I still have some doubts. If I for example use the theme twenty fourteen, then the page template of that theme has an area for text content at 472 px in the width. If I want to keep this template with that specific area, but in the same time want another page template with a text content area at 600 px in the width, will I then have to first make a child theme and after that then make the new page template.
As I see it so far, I will have to start with the file functions.php in which the 472 width is set. When I do not want to alter the width for the existing page template, I have to make a new functions.php and put it in a child directory and then change the width. In that child directory I also put a copy of page.php and rename it with a proper filename.
Am I right so far – and if so, how should I make the connection between the new functions.php file and the new page template file in the child directory in order to have the right width of 600 px at the new page template.
- The topic ‘Making a child theme before making a page template’ is closed to new replies.