Support » Plugin: GDPR Cookie Compliance » Settings click doesn’t open popup

  • Resolved wikifa

    (@wikifa)


    Hi,

    it seems that clicking on settings link created by [setting]settings[/setting]
    doesn’t do anything.

    Thanks!

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Moove Agency

    (@mooveagency)

    Hi @wikifa,

    Thanks for using our plugins.

    You are using Autoptimize, please try to add the following script as exclusion to Autoptimize: (Exclude scripts from Autoptimize:)
    gdpr-cookie-compliance/dist/scripts/main.js

    Hope this helps.

    Hi,

    thanks for helping.
    We believe there is an incompatibility with the
    “youtube embed plus pro” which also uses lity.
    Only pro version has the bug.

    Let us know if there is ANY way to fix this.

    Plugin Author Moove Agency

    (@mooveagency)

    Hi @wikifa,

    Thanks for your comments.

    It seems the “Youtube Embed Plus Pro” includes an outdated Lity version (from 2016), our plugin uses the Lity lightbox too, but first it checks if any other theme or plugin already loaded the library, if not will be loaded from GDPR plugin folder.

    To fix the issue, you can try to add the following snippet to your functions.php

    function gdpr_lity_fix_assets() {
    	if ( function_exists( 'moove_gdpr_get_plugin_directory_url' ) ) :
    	  wp_enqueue_script( 'gdpr/lity-js', moove_gdpr_get_plugin_directory_url() . '/dist/scripts/lity.js', array(), MOOVE_GDPR_VERSION, true );
    	  wp_enqueue_style('gdpr/lity-css', moove_gdpr_get_plugin_directory_url() . '/dist/styles/lity.css', array(), MOOVE_GDPR_VERSION, 'all' );
    	endif;
    }
    add_action( 'wp_enqueue_scripts', 'gdpr_lity_fix_assets' );

    Hope this helps.

    Hi,

    this solved the issue.

    Thanks a lot!!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.