Support » Plugin: Inline Tweet Sharer - Twitter Sharing Plugin » Removing the jQuery, jQuery Migrate and the CSS File from Head

  • Resolved Fatih Turan

    (@fatihturan)


    Hi,

    How do I remove the jQuery, jQuery Migrate scripts and the inline-tweet-sharer.css CSS file from <head> section which is coming with Inline Tweet Sharer plugin?

    I want to remove these because these already loading the jQuery on <footer> and I don’t want to use default stylesheets.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Rhys Wynne

    (@rhyswynne)

    Hi There,

    The plugin does not ship with jQuery, and the JavaScript the plugin needs loads after jQuery is loaded. The jQuery that is loaded is the one that is included with WordPress.

    The latest version of Inline Tweet Sharer (2.4) allows you to disable JavaScript.

    Hope that helps!

    Rhys

    Well, can I move the plugin script below footer? Because I already loaded the jQuery script and I think it must be work under this case.

    Also is there a way to load this script only on single template view?

    Thank you for your reply.

    Plugin Author Rhys Wynne

    (@rhyswynne)

    I guess? It’s not something I have looked at, and it is outside the realms of scope of this plugin.

    The plugin however does register & enqueue the scripts/styles the correct way, so you should be able to manipulate it’s loading place.

    There are plenty of plugins out there that disable/enable Scripts in various places, and load scripts in the footer. I suggest looking at them.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Removing the jQuery, jQuery Migrate and the CSS File from Head’ is closed to new replies.