Support » Plugin: Easy Social Share Buttons » Two Twitter Pop-Ups Generated

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


    Thanks for downloading. We are unable to reproduce that behavior in a basic WordPress environment (2017 theme). Do you have any other details about your set up? Maybe try disabling other plugins to see if it might be effecting the sharing plugin?

    Thread Starter jpen365


    In case anyone else sees the same issue…

    I resolved the issue by adding some JS via a custom plugin. This was in the plugin php file:

    function detwit_essb_enqueue_scripts() {
      wp_enqueue_script( 'detwit-js', plugins_url( '/detwit-essb.js', __FILE__ ), $deps = array( 'easy_social_share_buttons-script' ), $ver = false, $in_footer = true );
    add_action( 'wp_enqueue_scripts', 'detwit_essb_enqueue_scripts' );

    So that loads a js file and in the js file was this:

    jQuery(document).ready( function () {
    } );

    Just linking to the Twitter link is enough to generate the pop-up. The added ‘on-click’ was creating a duplicate window.

    • This reply was modified 4 years, 1 month ago by jpen365.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Two Twitter Pop-Ups Generated’ is closed to new replies.