Create a Singular layout for EDD download items
Use a Singular Themer layout to display single download items that you've created in the Easy Digital Downloads (EDD) plugin.
- For an introduction to how Themer layouts work with the EDD plugin, see the overview article.
Here's how to create and design a Themer layout for a page displaying a single download item.
It helps to have some download items created first so that you have something to preview as you design the layout in Beaver Themer.
1 Create a Singular Themer layout for EDD​
- In the WordPress admin panel, click Beaver Builder > Themer layouts.
- Click the Add New button at the top of the page.
- Enter a title for your Themer layout.
- Verify that Type is Themer layout and for Layout select Singular, then click Add Themer layout.
The Edit Themer layout screen opens.
2 Edit the Singular Themer layout​
- For Location, click Choose, then from the Downloads section choose Download.
By default, the location will apply to all download item pages, but you can include or exclude specific pages by setting up inclusion or exclusion rules. - Click Publish.
3 Design the page​
- Click Launch Beaver Builder.
- In the Preview as field at the top of the page, select Download, then select a particular download item, assuming you've created one already.
- The Themer layout opens with the Singular template for standard posts. To use the template for EDD to start building your page, click Templates in the upper right corner and make sure General is selected. Select the Download template, then click Replace existing layout.
- Build the page in Beaver Builder in the normal fashion, by adding and configuring modules.
See the next section.
EDD modules for the Singular Themer layout​
When you edit a Singular Themer layout and have the EDD plugin installed, there's a special content group in the Content panel called EDD Modules. This group contains the following modules:
- Add to Cart Button
- Download Description
- Download Price
- Download Title
These modules can be used to display the custom fields that you may have filled in when you created the download item. Ifyou added the Download template to your Themer layout when you created it, you will see these modules in use.
The Download Image section in the EDD Edit download screen is the featured image with a different label, so it is treated as a featured image in Beaver Builder. If you use the Download template with the Singular layout, you'll notice that the download image is a Photo module with a field connection to Post featured image, as shown in this screenshot.