Join Morten Rand-Hendriksen for an in-depth discussion in this video Creating a custom front page template file, part of WordPress: Building a One-Page Style Site.
…If you're familiar with WordPress, you know that, by default, the page that's…displayed as the front page of any WordPress site is the blog index.…You see each of the blog posts posted to WordPress in…reverse chronological order on the front page.…You may also note that if you go to the WordPress toolbar and…Customize or if you go to the back end and…go to Settings and Reading, you can change what the front page displays.…So you can either set it to your latest post,…which is the default, or you can choose the option A static page.…
And then you can pick a page that will display on the front page and…then also a page that will display the blog index, known as a posts page.…And commonly, when you want to change the front page of a site, you would…use this static page function to display a custom page as the front page and…then another page as the blog page.…And we are going to do that in this course.…However, that's not how we're going to decide what template is displayed on…the front page.…Instead, we're going to use what's known as the WordPress template hierarchy.…
- Creating a foundation for the front page with a child theme, styles, and dummy content
- Using custom queries to display content from different pages
- Adding testimonials
- Adding a custom menu
- Creating a scrolling effect