Support » Plugin: Show/Hide Content at Set Time » Using with Divi template

  • Resolved hfinlay10

    (@hfinlay10)


    Hi, Is it possible to use this plugin with Divi template? I have been trying to hide almost the whole page (which has a number of different sections and modules) by adding the code into text sections at the start and end, but this does not seem to be work. It works just on individual sections, but I am trying to hide multiple sections. Thx.

    • This topic was modified 2 years, 3 months ago by hfinlay10.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Dave Clements

    (@thewanderingbrit)

    Yes, you can use this to hide as much of a page as you want, assuming that it is built with shortcodes, which I believe that it is.

    dozza

    (@dozza)

    Actually, I confirm that Divi does present problems with time-restrict when the page/post is built with Divi Builder (Divi’s excellent built-in page builder tool).

    Example: If you want a button module to be revealed at a certain time and are sing Divi Builder, you need to put the opening [time restrict] shortcode in a text module before the button module and then have the closing [time restrict] shortcode in a text module following the button module. But it is not read and rendered correctly. You simply see the closing [time restrict] shortcode echoed on the page. Doesn’t help using the code module instead of Text module either.

    The only was to achieve it, that I know currently, is to put everything in a single text module. To do this you need to create your divi button module elsewhere in Divi Builder and then switch to the default editor so it converts the button into a shortcode for you, that you can then wrap the [time restrict] shortcodes around within a single text module. This does then work.

    So I wouldn’t have thought you could use to hide/reveal multiple divi sections or rows if you are only using Divi page builder. Happy to stand corrected though!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Using with Divi template’ is closed to new replies.