Join Morten Rand-Hendriksen for an in-depth discussion in this video Adding dummy content to the front-page.php file, part of WordPress: Building a One-Page Style Site.
…With the front page dot PHP template file working in our child theme,…the next step is to add in all the content from WordPress and then style it to make…it look the way we want, and, finally, add the navigation in a custom menu.…So that we can scroll up and down to the different sections, and…here we can approach things in several different ways.…Most commonly you will either make dummy content first to setup the framework of…a page and then add in WordPress content,…or you can also just add content from WordPress right away.…
So, I'm going to take the first approach, and…first create a dummy content page that has the overall structure, and…then I can pull in the pieces I want from WordPress afterwards.…I'll start off in front page dot PHP, and…the first thing I'm going to do is remove what I don't need.…Of course, I don't need this sentence I added in the previous movie, so…I'll take that away.…But I also don't need the sidebar,…because the sidebar has no purpose on the front page.…The design that I want to go for, everything is centered in the middle and…
- 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