• Resolved urasoul111

    (@urasoul111)


    Hi,
    I have been testing your plugin on a live site and found that the following other plugin breaks when I use it: https://leapsandbounds.io/the-social-links/
    Specifically, the fontawesome characters that are used for the social buttons do not appear in firefox or chrome. I’m not 100% sure what’s causing this, but I can see that the CSS is not correctly setup for some reason, for the buttons.

    I attempted to write a filter to make sure that none of the scripts from the ‘social links’ plugin were loaded into the footer by your plugin, but I was not successful. It would be great if you would let me know how to get these two plugins to work together. thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Joshua David Nelson

    (@joshuadnelson)

    Hey there, sorry to hear your having issues!

    Have you tried toggling on the “keep jQuery in the head” option in Settings > Scripts to Footer? The only script being loaded for this plugin is a jquery dependent one, which might be effecting the output of the links/icons. (see here)

    You could also use a filter for the script, which will also put jQuery in the header along with the sortable script:

    add_filter( 'stf_exclude_scripts', 'jdn_header_scripts', 10, 1 );
    function jdn_header_scripts( $scripts ) {
        $scripts[] = 'jquery-ui-sortable';
        return $scripts;
    }

    If that doesn’t work, it’s likely another conflict I can’t see yet. Scripts to Footer doesn’t move stylesheets. The Social Links plugin appears to have the font-awesome styles loaded correctly, which leads me to think it’s related to the script.

    Let me know if that doesn’t work!

    Thanks,
    Joshua

    Thread Starter urasoul111

    (@urasoul111)

    thanks for replying. i did have the jquery in header option active as the site broke without it. i’m pretty sure I also tried a filter for that sortable module too. i had to remove the social links plugin anyway as i couldn’t find a solution here – i switched it for a similar plugin that works with your one fine.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘‘The Social Links’ Plugin Fails…’ is closed to new replies.