Join Morten Rand-Hendriksen for an in-depth discussion in this video Adding a custom menu to the front page, part of WordPress: Building a One-Page Style Site.
…At this point, we have all the components we need in place on the front page.…But we're not done quite yet.…What makes these one page style front pages and…one page style sites stand out, is the custom navigation.…What you normally see is,…when you scroll down on a page, the menu sticks to the top.…And if you click on one of the menu items,…you scroll down to the section on that page where that menu item is.…What we have now is a standard WordPress menu, where if you click on any of…the menu items, you go directly to that individual page.…
So here we need to do several different things.…First, we need to create a custom menu that let's us navigate within…the front page.…And we want that menu to only appear on the front page, so…that if we're anywhere else on the site,…we still get the standard menu, where we go from page to page.…Then we have to make that custom menu stick to the top of the page.…And finally, we need to create that scrolling behavior so…that we can naturally scroll between the different sections.…
- 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