• Resolved Travis Pflanz

    (@tpflanz)


    Hi. I am using your plugin on a few website. I went to add it to a Divi site and the bar does not display. Then, I tested on a few more Divi sites and disabled all other plugins.

    Please advise.

Viewing 1 replies (of 1 total)
  • Plugin Author wpexplorer

    (@wpexplorer)

    Hi Travis,

    This plugin relies on the core wp_body_open hook – https://developer.www.ads-software.com/reference/functions/wp_body_open/ (required in WordPress and introduced in 5.2.0).

    It sounds like Elegant Themes hasn’t updated their theme yet (seems strange as such a popular theme). You can manually edit the header.php file of Divi and add the following code:

    <?php
    if ( function_exists( 'wp_body_open' ) ) {
        wp_body_open();
    } else {
        do_action( 'wp_body_open' );
    } ?>

    Directly after the body tag.

    Of course it would be a great idea to let the Divi support team know about this so they can update their theme accordingly as it’s been over a year now since this new hook was introduced.

    – AJ

Viewing 1 replies (of 1 total)
  • The topic ‘Doesn’t work with Divi’ is closed to new replies.