How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

Nov 20, 2021 | Everything Divi for WordPress

Divi footers are versatile. You can place a variety of elements within them to help visitors navigate through your website. Although Divi is full of modules you can place inside your footer off the bat, you can also include plugin shortcodes in your Divi footer. In this article, we’ll show you how! We’ll tackle three different plugin examples, so let’s get to it.

Preview

Let’s take a quick look at what we’re adding to our Divi footer. We’ll add these plugins:

The Events Calendar Desktop

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)


Here’s The Events Calendar on the desktop version of our Divi website.

The Events Calendar Mobile

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-1 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

This is The Events Calendar on mobile.

Smash Balloon Social Photo Feed Desktop

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-2 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

This is the Smash Balloon Social Photo Feed on the desktop.

Smash Balloon Social Photo Feed Mobile

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-3 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

Here’s the Smash Balloon Social Photo Feed on mobile.

CookieYes Desktop

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-4 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

Here’s the desktop version of our new footer with CookieYes.

CookieYes Mobile

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-5 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

Here’s the mobile version with CookieYes.

Footer Template

For this tutorial, you’ll need a footer template. You can build one from scratch or use one of the free footer templates found in the Elegant Themes blog. Just search for “free footer”. For my example, I’m using the FREE Header and Footer Template for Divi’s Essential Oils Layout Pack.

Download your Divi footer template and unzip the file. You’ll upload the JSON file. We will add shortcodes to the Divi footer.

Upload the Footer Template to the Divi Theme Builder

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-6 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

Once you have your Divi footer template downloaded and unzipped, it’s time to upload it to the Divi Theme Builder. Go to Divi > Theme Builder in the WordPress dashboard. Select the Portability icon in the upper right. In the modal, click the Import tab, select Choose File, navigate to your JSON file and select it, and click Import Divi Theme Builder Templates. Wait for it to upload. Delete the header template if you don’t want to use it and save the settings.

Now, let’s see how to add shortcodes to the Divi footer, You can work in the Divi Theme Builder or on the front end.

Add The Events Calendar Shortcodes to Your Divi Footer

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-7 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

For our first shortcode, we’ll use The Events Calendar. This is the most popular events calendar for WordPress and its calendars look great in a footer. This plugin does not include shortcodes, but we can add them with an extension called Events Shortcodes For The Events Calendar. Install both plugins. Create your events as normal.

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-8 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

The Events Calendar will not give you shortcodes, but you can create them with the shortcodes addon. This addon also includes styling options and a field for custom CSS. See the add-on’s settings in the WordPress dashboard. Go to Events Addons > Shortcodes Settings.

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-9 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

The shortcodes tab for the add-on is found in the Shortcodes Attributes tab. This provides a sample shortcode along with the attributes you can use to build a custom shortcode. Follow the instructions and build the shortcode for your event.

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-10 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

For my examples, I’ll work from the front end. Enable the Visual Builder and scroll down to the footer. Hover over the footer and click Edit Footer Template.

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-11 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

Hover over the area under the footer elements. This area is just above the footer copyright notice. Click the green plus icon and add a single-column row.

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-12 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

Select either a Text or Code module. It doesn’t matter which you choose. I’ve selected a Code module for this example. Paste your shortcode into the code field. Click the green check and save your page.

Style The Events Calendar Shortcodes to Your Divi Footer

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-13 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

Select the Design Tab for the Code module. Scroll to the Border Styles and add a 1px border.

  • Border Styles: 1px

We’ll style the rest of the event in the Events Shortcodes Addon using design elements from the footer.

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-14 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

In the Events Shortcodes Addon General Settings tab, change the colors and fonts to these settings:

  • Main Skin Color: #000000
  • Event Background Color: #E3E3E3
  • Text Font: Cantarell
  • Font Size: 14px
  • Event Title Styles: Spartan, Bold, #000000, 18px
  • Events Description Styles: #000000
  • Event Venue Styles: #ffffff
  • Event Dates Styles: Cantarell, 36px, #ffffff

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-15 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

The footer now includes an events calendar that matches the rest of the footer.

Add Smash Balloon Social Photo Feed Shortcodes to Your Divi Footer

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-16 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

Smash Balloon Social Photo Feed connects to your Instagram account via an API and displays the photos from your feed. This is an excellent way to build your social following. To connect to your Instagram account, go to Instagram Feed > Settings in the WordPress dashboard. In the Configure tab, click Connect and Instagram Account.

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-17 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

This takes you to a screen where you can connect your account. Click to log in and allow the plugin to access the account.

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-18 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

Select the tab labeled Display Your Feed. Copy the Instagram Feed shortcode. You can also copy shortcodes for other types of feeds including multiple feeds, customization options, add buttons, etc. Some require the pro version of the plugin. I’m using the standard feed.

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-19 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

Go to your homepage (or the Divi Theme Builder). Enabled the visual builder and scroll to the footer. Hover over the footer and click Edit Footer Template.

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-20 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

Hover where you want to add the feed. Insert a new row and select a single column.

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-21 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

Your Instagram feed is displayed automatically. It includes a Load More button, an Instagram Follow button, and a label that shows how the feed belongs to.

Every element can be customized. You can change the background color, layout, number of photos to display, etc., in the plugin’s settings screen in the Configure tab. It’s already displaying the way I want it to, so I won’t need to style this one.

Add CookieYes | GDPR Cookie Consent & Compliance Notice Shortcodes to Your Divi Footer

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-22 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

CookieYes | GDPR Cookie Consent & Compliance Notice displays a cookie consent that can be embedded into your footer. The shortcodes are available in the Help Guide tab. Go to GDPR Cookie Consent > Settings in the WordPress dashboard. There are several to choose from and you can customize them.

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-23 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

Enable the Visual Builder on your home page, scroll the footer, and select Edit Footer Template.

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-24 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

Scroll down to the copyright notice and change the row to double-column.

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-25 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

Click on the dark gray plus icon on the right and select either the Code or Text module.

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-26 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

Add all the shortcodes to the module. Close the module and save the page. We’ll make some adjustments with both modules and the plugin’s settings.

Style CookieYes | GDPR Cookie Consent & Compliance Notice

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-27 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

Open the Code module and select the Design tab. Under Spacing, set the Top Margin to -24px. You can drag this in the Visual Builder.

  • Top Margin: -24px

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-28 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

Open the copyright Text module. In the Design tab, add 14px of padding.

  • Padding: 14px

Save your settings and navigate to the plugin’s settings.

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-29 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

In the Customize Buttons tab, select each of the buttons and select Large for the Button Size.

  • Button Size: Large

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-30 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

Select the Read More options and set the Text Color to #888888.

Text Color: #888888

Results

Here’s how each of the footers looks on desktop and mobile.

The Events Calendar Desktop

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

Here’s the event post type on the desktop.

The Events Calendar Mobile

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-1 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

The mobile version stacks the elements of the events post type.

Smash Balloon Social Photo Feed Desktop

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-2 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

Here’s the desktop version of our Instagram feed.

Smash Balloon Social Photo Feed Mobile

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-3 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

Here’s the mobile version. It places the images in a stack.

CookieYes Desktop

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-4 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

Here’s the desktop version of our new footer with cookie consent.

CookieYes Mobile

how-to-add-shortcodes-to-your-divi-footer-3-plugin-examples-5 How to Add Shortcodes to Your Divi Footer (3 Plugin Examples)

Here’s the mobile version.

Ending Thoughts

That’s our look at how to add shortcodes to the Divi footer to expand your website even further. Shortcodes are easy to add with either text or code modules. The three plugins I used here are just the tip of the iceberg of what can be added to Divi with shortcodes.

We want to hear from you. Do you add shortcodes to the Divi footer? Let us know about your experience in the comments.

Source

SE Ranking
SE Ranking