Recipes Docs

Homepage and blog

Follow these steps if you want to set up your site from scratch. If you want to import the content and settings used on the demo site, see "Importing demo content and settings".

Create pages for the homepage and blog #

This theme comes with a custom page template for the homepage. To set up the homepage go to Pages → Add New, and create a page titled Home and select the page template Home from Page Attributes → Template.

Please note that the content of this page is built using widgets.

Next create a page called Blog if you want to have a separate index page for the blog posts. There's no need to write any content on this page, just save the page with the default page template.

Now go to Settings → Reading and set up the following settings:

Settings for the front page.

Using widgets to build the homepage #

Homepage is highly customizable as widgets are used to insert sections in it. This makes it possible to completely decide what you want to show on the homepage, and in which order.

To build the homepage go to Appearance → Customize → Widgets. Now click Homepage Widgets on the sidebar. Click Add a Widget to add widgets.

You can use as many widgets as you like. For example, you can insert multiple List Recipes widgets to show latest recipes, best rated recipes, and most favorited recipes etc.

Widgets which you can use on the homepage start with Recipes: Homepage. Here are the widgets you can use on the homepage:

Hero Image #

This widget is used to insert a hero image on the page. In the widget options you can set the title shown on the hero image. Optionally, you can also set search suggestions and the title for the search suggestions.

List Recipes #

With this widget you can insert a list of recipes on the homepage. In the widget options you can set the title and content shown above the list, and also choose the number of recipes, and the order of recipes. You can also choose if you want to show a link to all recipes beside the title.

List Blog Posts #

Use this widget to insert a list of blog posts. In the widget options you can set the number of blog posts and also choose if you want to show a link to all blog posts beside the title.

List Terms #

This widget allows you to list for example featured collections on the homepage. In the widget options you can set the title and content shown above the list and also choose the number of terms shown.

If you enable the option Show only featured terms, you must have terms with the checkbox Featured Term enabled.

For example if you are using Collection as one of the taxonomies in the widget settings. Now, go to Recipes → Collections and click the name of the collection you want to edit. Check the Featured Term checkbox, and click Update. Now the term will show up on the widget. Obviously there must be recipes in the collection or it won't show up.

With this widget you can insert the recipe search on the page.