Divi Display Logic – A new product

July 17, 2017 | Divi, Plugins, Plugins, Themes, Wordpress | 36 comments

I’ve been working on a new plugin that I’d love to tell you about. It’s gone live on Elegant Marketplace TODAY.

So what is it you ask? It’s a plugin to allow you show and hide any Divi element (sections, rows and modules) using any number of filters that I’ve provided for you. Sounds a bit far fetched and now you’re asking yourself what you would possibly use it for?

Let me tell you…

Let’s say you have a membership site. The homepage, prime real estate!, needs to sell your premium offerings. However, when logged in you surely want to remove all of that and show the premium offering also?! This plugin can do that.

Next example.. you run an eCommerce site and want to show additional information to those who have purchased or perhaps hide pricing until the user has logged in. Use this in conjunction with Woo Injector and you could do that (some PHP needed, contact me if you need help)

We had a great example on the Facebook group. A user runs a restaurant and wanted to show different menus at different times of the day. A Breakfast menu until the lunchtime menu comes in at which point the same “Menu” page could then swap out to show the evening menu.

One of the main features of this, as above, is the concept of time. You can time sections, rows and modules to show/hide at any time of day or any date/time combination. It’s very versatile and great for developers to extend also. Give it a look over and let me know what you think!

What’s better still, it’s currently on offer for the next 48 hours via the coupon code DDL50 (valid until the 19th July).

Here’s the video.. or just skip to the Elegant Marketplace product page by clicking here

A Donate Button!

36 Comments

  1. Dale Reardon - My Disability Matters

    Great plugin – I just read about it on the Elegant blog.
    Can it be used to hide widgets and/or sidebars completely on mobile devices? Adding options for actions based on users device would be great.
    I am only new to Divi so maybe that can be done in other ways.
    Thanks,
    Dale.
    Hi,

    Reply
    • Sean Barton

      Yes this could be done using user agent. I could help you writing a function to make it happen using the plugin

      Reply
  2. Alex Hutson

    Hi Sean,

    This is an awesome plugin!

    Would there be a way to change the content based on a user’s previous actions – e.g. they previously completed a form on a landing page to download an eBook?

    Thanks,

    Alex

    Reply
    • Sean Barton

      Yep although it’d require a quick function writing to make that work. I could help you with it though no problem

      Reply
  3. lisanewcomb

    Will this work for, say, showing content based on whether a person/user has visited the site in a set amount of time (24 hrs, 48 hrs, etc) … IP address-based?

    Reply
    • Sean Barton

      Hey there, yes it could be.. it would be based on session though as IP address storage would require server side storage. Incrementing a session based hit count would be easy enough I suppose. If you do purchase then ping me a support ticket or email and I’ll get this integrated for you.

      Reply
  4. John Barousse

    Does it work with the Divi builder plugin, or just the theme?

    Reply
    • Sean Barton

      The Divi Builder plugin also 🙂

      Reply
  5. calvinhorseandwater

    Hi Sea, Plugin looks great – need to see if it’ll work for a clients needs exactly:

    Would we be able to have a user press a ‘find out more’ button and that trigger the display of a divi row that isn’t shown otherwise?

    Reply
    • Sean Barton

      Yes but you’d need a page load in there. It physically removes the html from the markup on output so it’s not simply just hidden. For this I’d add a $_GET parameter and look for that using my plugin.

      Reply
  6. fellene

    You just saved my bacon, Sean! I have been working on a Divi site with an event section that needed to turn on and off by date. I had found another shortcode plugin but it didn’t work for sections or rows. This is IT! I am a very happy coder today. It installed easily and is very intuitive to use. Good work!

    Reply
  7. kpmetrics

    Could this be used to show or hide content based on a cookie value?

    Reply
    • Sean Barton

      Yes, I think that’s built in

      Reply
  8. Patrick Michel

    Is it possible to set a condition that take the page name as the condition : “if the page is called xxx show…” ?

    Reply
    • Sean Barton

      Yes, you’d need to write it but it wouldn’t be too hard to be honest

      Reply
      • Patrick Michel

        Thanks for your response Sean, bit I wouldn’t know hoe to go about it. Any thoughts?

        Reply
  9. Marco

    I am searching for a solution to the super-annoying issue of anchors not working on Safari on IOS. So it would be fantastic if your plugin could detect the type of browser and let me show different code (nothing for safari on IOS and the anchor link for all the other browsers). How difficult is to implement this feature on your plugin?

    Reply
    • Sean Barton

      You’d need to write a custom function to detect the user agent (easy enough) and then show/hide accordingly. It’d be quite easy if you could write up a php function to determine the browser in a consistent way.

      Reply
  10. Scott Weber

    Hi, where are instructions to update Divi Display Logic manually without risking losing any settings? Thanks!

    Reply
    • Sean Barton

      You can do so manually or automatically. It won’t lose any settings.. even if you turn it off

      Reply
  11. Arthur van de Laak

    Does it work with advanced custom fields. Basically I want to publish a certain module or not based upon a value of advanced custom fields.

    Reply
  12. Matt Weiner

    Looks like it only works with the classic divi builder and not the new version (as of Jan 2019). Any plans to support the new builder?

    Reply
    • Sean Barton

      Yep.. as soon as I work out how to use it 🙂

      Reply
  13. Andread Zetterberg

    Hi! Looks very promising! We use custom roles for our users, would it be possible to hide or to show the module for users of MyCustomRole1 and MyCustomRoles5, or is the plugin limited to the standard wordpress roles?

    Reply
    • Sean Barton

      Any role will be fine as they all use the same system

      Reply
  14. Jeff Goebel

    Just bought it. I own quite a few of your products now. YAY.
    It says expired when I try to install it but I’m sure I’ll figure out why after I read a bit more.

    Reply
  15. Oliver

    DIVI Display Logic is installed – but I can’t find it anywhere … (License activated **removed by admin** )

    I tried to reinstall with the “divi_display_logic.zip” from 2017 – same result.
    New installation with the “divi_display_logic-21.zip” from my account on elegentthemes.
    No result – wants to open/save “update.php”

    Any idea?
    Thank you for help.
    Oliver

    Reply
    • Sean Barton

      Hi there, the plugin will only show itself using the Classic Divi Builder. Activate that and you should see it. It only adds a CSS class to the modules etc so when you switch back to the visual builder or the ‘new builder experience’ it should still work.

      Reply
      • Ethan

        Any plans to update this for latest builder support?

        Reply
        • Sean Barton

          Yes it should be with you before Christmas

          Reply
          • Ethan

            Hi Sean, Any progress on this?
            Ethan

  16. Dedi Thorne

    I just bought this plugin, installed it, added the license key and am not finding it available at all on Divi 4.0.6. I deleted it, uploaded it again and nothing on my modules. I deactivated all other plugins. Still nothing extra on my modules.

    Reply
    • Dedi Thorne

      Actually ~ I THOUGHT I had the classic editor enabled. Maybe you could update this page and your product page on the marketplace to tell people that they have to go to Divi>Theme Options>Advanced and disable the “Enable The Latest Divi Builder Experience” option.

      I had enabled Classic Editor, thinking that was the Classic Builder you spoke of because it’s the only thing in there that uses the word “classic.”

      This would probably save a lot of questions for you and headache for the people who purchased it.

      The plugin is awesome now that I found the setting to return to the classic builder.

      Reply
  17. Lia

    Hi there,

    I am using Simple Membership Plugin with Divi.

    Will your plugin work in revealing/hiding button modules to users who have registered through the simple membership plugin?

    Reply
    • Sean Barton

      It depends on how the plugin works. Built in are role based logic controls and logged in/out controls so there’s a very good chance it will be fine. If it doesn’t once you’ve purchased let me know via FB or a support ticket and I’ll add support for you. It won’t be much effort either way.

      thanks
      Sean

      Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

CommentLuv badge

Stay in touch!

Page Builder Cloud

Page Builder Cloud

A truly universal template library for WordPress Page Builders.

Page Builder Recommendation

Elementor Banner

We are BIG fans of the Elementor page builder. Give it a look!

About this site and Sean Barton

Picture of Sean
Sean Barton is a Freelance PHP Website Developer in Crewe, Cheshire. He is a Wordpress and CMS/Framework specialist and Co-Founder of Page Builder Cloud.
This site was set up in 2008 as a tutorial and scripting resource for the PHP language and Wordpress.
Find out more about Sean on the About Me page or use the Hire Me page to get in touch. For more information about Sean's work take a look at the Portfolio

Our Services

  • Wordpress plugin/theme development
  • Divi specialist
  • Ecommerce (Woocommerce, WPSC, Shopify, Magento)
  • PSD to Wordpress theme conversion (Responsive)
  • Website design work (Banners, Logos, Full Site, etc)
  • Website analysis (security, usability, SEO)
  • API Integrations (InfusionSoft, SalesForce, Ontraport, Customer Thermometer, etc..)
  • Wordpress consultancy & expert advice
  • Crisis support
  • Website hosting

The main services offered are Wordpress based although we do a great deal of technical programming for bespoke systems. From troubleshooting, extending frameworks, finding bugs to writing them from scratch.

Find out more by looking through our past projects or get a quote.

Be the first to hear about new products/updates!

This is a mailing list for those people interested in being told when we release a new product (Divi plugin or Theme).

We shall also use this list to let you know about product updates and releases.

You have Successfully Subscribed!