Creating a front-page.php template
I am using the theme Grisaille. My front, static page has a side bar with blog post archives etc. I want to get rid of this side bar on this page only. I already
1. created a child theme, and installed it
2. was told to create a front-page.php template, deleting the sidebar, than add css to change the width of the main content.
I have been digging everywhere on wordpress as well as any site that has info and am confused to say the least.
What I understand is that I make a file with my text editor, call it front-page.php
I put this code in it-
Template Name: front-page
At this point I download it to the child theme folder on my server. Now what?
Do I copy the entire page I want to alter and paste it in the above file, and what page do I copy page.php or home.php? I would really appreciate some advice, since I feel I’ve made some progress but it doesn’t matter if the whole process isn’t done.
thank you, Diane
- The topic ‘Creating a front-page.php template’ is closed to new replies.