Today we’re giving away another free category layout for Extra. This category layout is meant to be used as a homepage for a food blog. The concept behind this layout is not to display the full blog (which in our demo we’ve put on a separate page) but rather to highlight popular content types/categories for site visitors.
As with our last category layout giveaway, the process of using it is more involved than simply importing the layout and loading it on a page. Because category layouts need content to populate them before you can get the same look achieved in our example, we have included demo content and images in our layout pack (as well as a few other items) to help you achieve the full effect you see in the images below.
Let’s get into it!
What’s Included in the Elegant Food Category Layout Pack for Extra
The download file food-blog-layout-pack.zip comes with the following files inside:
- 0-header-settings.json – this file contains the Elegant Food header settings. It is imported via the Theme Customizer.
- 1-all-food-blog-layout-pack.json – this file contains all sections and the full food blog category layout in one import.
- 2-food-blog-layout-all-sections.json – this file contains all of the sections in one import.
- 3-food-blog-layout.json – this file contains just the full layout in one import
- custom css folder – this folder contains a plain text file of the custom css you will need to add to your category layout page settings (as well as a reference image).
- demo content folder – this folder contains all of the demo content you will need to duplicate the content found in our demo.
- food blog individual sections folder – this folder contains all of the individual category layout sections as single json files in case you want to import just one or a few.
Downloading the Elegant Food Layout Pack
To gain access to the download you will need to subscribe to our newsletter using the form below. This will give you access to the Food Blog Category Layout Pack as well as providing you with an ongoing source of new (and free) Divi resources, tips, tricks, and news.
If you’re already on the list, simply enter your email address below and click download. You will not be subscribed twice.
Download The Layout Pack
Step 1: Unzip Your New Download
The first step in getting your new category layout up and running on Extra is to locate the zipped file you just downloaded in your downloads folder and unzip it. Once it’s unzipped you’ll see all of the files and folders we went over above. We can now begin adding those to your WordPress install running Extra. For best results I recommend following the order I’ve outlined below.
Step 2: Add the Logo & Import The Customizer Settings
Next, let’s add the logo we’ve included in the demo content folder of the download called elegant-food-logo.png. To add it navigate in your WordPress admin to Extra > Theme Options and click the upload button next to logo.
Once you logo has been added, save your changes and navigate to Extra > Theme Customizer. Click on the import icon at the top of the customizer sidebar menu.
When the portability modal pops up, go to the import tab. Tick the check-box that says “Download backup before importing” so that just in case you have the ability to revert back to your current settings. Then, choose the file 0-header-settings.json from the food blog download folder.
Click the blue “Import Extra Customizer Settings” button. When the import is complete your header should look like the header in the Elegant Food screenshot below.
Step 3: Import The Demo Content
Ok, so now that our theme customizer settings are out of the way we can move onto the heavy lifting. Importing our content.
Navigate in your WordPress admin to Tools > Import. If you’ve never used this feature before, you’ll want to click “Install Now” under the WordPress option. Once the WordPress importer is installed, click the “Run Importer” link.
Next click the “Choose File” button and select the file from your downloads folder called elegant-food-demo-content.xml. Click the blue “Upload file and import” button.
You’ll be given the option to set a new author up as well as choose to download and import the file attachments. At the very least I’d recommend checking the download and import file attachments option so that any post with images inside it will retain those images.
When the import is complete, navigate to Posts > All Posts. You should have 40+ new pieces of demo content.
Step 4: Set Your Featured Images
Now for the time consuming part. You’ll need to open every new post and manually add the corresponding featured image. I’ve tried to make this as easy as possible by including a zipped folder of all the images, organized by category.
I would recommend doing the following:
In the demo content folder you will notice a sub-folder called featured images. The images inside are organized by categories corresponding to the imported content categories of your new demo content.
In Posts > All use the filter feature to select each category individually.
Click the “edit” link under each post title and add the corresponding featured image. The featured image meta box is located in the right hand column of the post editor screen.
This will take a bit of time to do for each of these posts. However, it will still be much faster than creating all of the demo content from scratch.
Step 5: Import Food Blog Category Layout to Your Divi Library
When you’ve finished adding the featured images, it will be time to import your new food blog category layout. In your WordPress admin navigate to Extra > Divi Library. Click the “Import & Export” button at the top of the page.
Select the import tab and click the “choose file” button. Select the 1-all-food-blog-layout-pack.json file from your downloads folder. Click the blue “Import Divi Builder Layouts” button.
When the import is done you should see the food blog category layout (and all of its individual sections) in your library.
Step 6: Set Your Homepage to the Food Blog Category Layout
Finally, navigate in your WordPress admin to Extra > Category Builder. Click the “edit” button underneath the Food Blog Layout.
In the right hand column of the page you will see a meta box called “Layout Usage”. Make sure the check box next to “Use this layout as the home layout” is ticked and click “Update”.
If you now navigate to your home page it should look like the example screenshot below!
The Elegant Food Category Layout for Food Blogs
This food blog category layout for Extra is perfect for featuring popular posts and categories for food blogs with lots of different categories. This is not meant to display all of the blog’s categories–just the ones you want to highlight and drive more traffic to.
I hope you enjoy this free category layout for Extra. My goal in designing it was to provide our community wth another useful resource they can use when creating websites for themselves or clients. You can also use it to show clients what is possible with Extra by setting up you own demo site using these files.
Let me know in the comments below if you have any questions or requests for more freebies!