Have you ever needed to place a Divi module, or even a complete layout, within another Divi module? Imagine the design possibilities of placing maps, forms, counters, blurbs, testimonials, or any other module within any other module with a text editor. What if you could place those modules within your sidebar? A third party plugin called AC Shortcodes does exactly that.
AC Shortcodes is a third party plugin from Ayanize that converts Divi modules into shortcodes so you can place them within another module. Create a shortcode with a single module or a layout and then paste that shortcode within a module’s text editor. It works with Divi, Extra, and any theme using the Divi Builder plugin.
In this plugin overview we’ll take AC Shortcodes for a spin and see some of the things that can be done with it and see how easy it is to use. The images for my sample pages were taken from Unsplash.com.
Installing AC Shortcodes Plugin
Upload and activate the plugin as normal. Once the plugin has activated you’ll see a message to re-save your permalinks. This will ensure the plugin works properly. Click Update Permalinks within the message. This will take you to the permalinks settings. Click Save Changes at the bottom of the page and then click DONE within the message. The message will then disappear and you can now use AC Shortcodes.
Creating a Shortcode
A new menu item is added to the Divi menu in the dashboard (go to Dashboard, Divi, AC Shortcodes). Clicking this will open the AC Shortcodes menu where you can create shortcodes. Any shortcodes that you’ve created will display here in the list. To create a new shortcode, click Create a Shortcode.
This takes you to an editor where you can choose to build with the Divi Builder. The shortcode is provided on the right. You can copy and paste this into the content of another module. Simply create a layout using the Divi Builder and click Create to save it.
Once you’ve created your shortcodes you’ll see them in the list in the dashboard menu. Here you can edit, delete, and copy the shortcode for pasting into your content. The shortcodes can be used within Divi Builder modules, within the standard WordPress editor (when using Divi or Extra), or within text widgets (requires Divi or Extra).
AC Shortcodes Examples
For my examples I created a standard Divi blog page with a full-width header. I created a gradient background for the section.
Full-width Header
This is the sample page. I want to replace the standard header with a new header using modules that normally can’t be placed within the header area.
This is the schortcode’s layout. It includes Map, Gallery, and Call to Action modules, and a Fullwidth Menu in a Fullwidth Section. I’ve made the background transparent so the styling on the page itself will display, and I’ve given the Fullwidth Menu module a gradient background to display over the background’s styling.
The page itself includes a Text module where I’ve placed the shortcode and a Blog module. These sections will supply the background styling.
Here’s a look at the new header. It’s easy to image the possibilities of what can be done with this header.
Tabs
The Tabs module is one of the easiest to see how the shortcodes work. Normally, the Tabs module allows you to place any type of content on a tab that you could place within an editor. This includes text and media such as images, video, etc. What if you wanted to place maps, contact forms, CTA’s, or any other Divi module? Let’s do it!
I created several shortcodes of modules and pasted each one in a separate tab. Some of the modules include their own background styling.
The modules display with the same design features that I created for them. In this example I’ve used a gradient background for the section.
This tab uses a contact form. I didn’t give it any special styling.
This tab displays a blog post. I’ve used the gradient background for the page but none for the blog post shortcode. Each of the tabs has its own background color and individual styles because they’re created independently.
You can even create complete layouts to display as shortcodes.
This layout uses a specialty section with an image, blog, portfolio, and contact form. I’ve placed it within the Layout tab.
Here’s a look at the shop module within a tab. Using modules within tabs would open some opportunities for displaying information, forms, CTA’s, and lots more.
You can also use the shortcodes in your sidebars by pasting them within a text widget.
Here the map is displayed within the left sidebar. You can see it still has its background styling. This is easy to change.
To update the shortcode simply load it from the AC Shortcodes list and make your changes. The changes will be reflected everywhere that shortcode is used. In this example I removed the background that I had added to the section in the map shortcode. I’ve set the background to be transparent. The map now displays without a background.
Here I’ve added several more widgets with modules in the sidebar.
WooCommerce Product Pages
One of my favorite uses for AC Shortcodes is to place them within WooCommerce product pages.
I’ve placed a shortcode for a slider with two slides in the product description area. Each slide uses its own settings.
For this example I placed a layout with a text module and gallery module within the product’s short description. And yeah, I’m playing with the background gradients again.
Using AC Shortcodes with Extra
Here’s a look at the tabs module in Extra. It’s using the sidebar with shortcodes in several text widgets to display the map and contact form modules. Everything worked as expected.
Using AC Shortcodes with the Divi Builder Plugin
Here’s the map module using the Divi Builder plugin with the Twenty Seventeen theme. This one’s actually a Tab shortcode that has a Map shortcode within it. A shortcode within a shortcode. How could I resist?
Shortcodes for sidebars only work when using the Divi or Extra theme. Shortcodes must also be placed within a Divi Builder module unless using Divi or Extra. Using the Divi Builder plugin, the AC Shortcodes menu will appear under Appearance in the dashboard.
Documentation
Documentation is provided within the AC Shortcodes menu. At the top right corner of the screen you’ll see the word Help. Click this to open the help screen. This reveals four tabs on the left:
- Overview
- Documentation
- Compatibility
- Template Usage
On the right are links to view a video and a blog post.
License
AC Shortcodes includes an unlimited license. You can install it on as many websites as you want for you and your clients. It includes updates for life and 6 months support.
To Purchase – this third party plugin is available in many of the Divi marketplaces as well as the supplier’s website: Ayanize
Final Thoughts
The ability to use Divi modules as shortcodes within other modules and sidebars opens up a new world of design possibilities. The examples I’ve created in this plugin highlight are just scratching the surface. The plugin itself is easy to use, requiring only Divi Builder skills and the ability to copy and paste a shortcode. If you’re interested in expanding the usefulness of Divi modules, AC Shortcodes is worth a look.
We’d like to hear from you! Have you tried AC Shortcodes? Let us know about your experience in the comments.
Featured Image via Photoroyalty / shutterstock.com
I’d like to know that even though third-party plugins are reviewed by Elegant Themes and ‘advertised’, why not do a thorough investigation of support services from the developer(s) prior to publishing the review? Granted that Elegant Themes have no responsibility for their subscribers decisions and actions to purchase these plugins, still many subscribers rely heavily on these reviews to determine if the cost is going to give them the advantage they need for their project.
Think about it: users who purchase a product based upon a blogger’s review find out that they are stuck with a product that doesn’t work and support is practically non-existent to rectify the problem. What then? Who’s responsible?
Or is this a ‘buyer beware’ type of situation?
I always check for a refund policy and check the support forums response times (if it exists); sometimes I even email the developer’s themselves to see if anybody is home. If I see that there’s no return policy or a reasonable response time in the forum or by email, then the risk could be too high to invest and finding an alternative would be better. At least I wouldn’t be out any money/wasted time.
I tried this plugin and it causes problems, with the dashboard not appearing after updating. It has not been updated in a while and when I contacted the developer about this I got no reply. So, I don’t recommend it.
I just tested Simple Divi Shortcode, which does work.
I had the same problem. I bought it from Elegant Marketplace a couple of weeks ago, and the download was version 1.0, even though I could see from other forums that the current version of the plugin was already at 1.2.3 before I’d purchased it. I’d at least like to try the current version to see if that works, and I’ve contacted both Ayanize (the developer of the plugin) and Elegant Marketplace and neither of them have replied.
It seems that the developer has stopped all correspondence for all products on their own support forums so I don’t expect any help from them, but I would’ve thought Elegant Marketplace would’ve replied, seeing as they’ve sold me an outdated version of a plugin. Anyway, there are a couple of other options out there that do the same thing.
Oh my God!!! It’s fantastic!!!
Would it work with other plugins such as a third party event plugin for isntance?
It’s about time AC Shortcodes got some love. I found it when I needed to embed YouTube and formatted text into a tabs module.
The most important question: Can it be used with the DIVI Main menu? To build mouseover menus completely with shortcode modules? This way it could be a smart alternative to the integration of external but complex Mega Menu plugins (UberMenu or WP Mega Menu Pro). For example: Images, Blog Posts, Maps, Tabs with lists and more. Just build every menu independently as shortcut module.
I don’t know why this isn’t part of Divi. I love Divi but I have to use about 5/6 extra plugins to do stuff that should be part of the theme itself.
+1
+1
+1 : )
Exactly. Why is this not a feature of Divi? Very frustrating. I want to build a portfolio and have a gallery in it but nope! Other themes I purchased had this functionality.
Thanks for the info. I have been using a shortcode plugin call ‘Simple Divi Shortcode’ for a while now. I found it much easier to use and functional but that’s just my opinion. Here’s the plugin if anyone want to have a look: creaweb2b.com/en/plugins/simple-divi-shortcode
Thanks Chathura.
This great info. Allows a lot of freedom to achieve a unique result for a client.
Thanks.