• Resolved chrisplaneta

    (@chrisplaneta)


    I’ve noticed that scripts:
    – socialite-scroll.js
    – socialite.min.js
    – pinterest.js
    – wpsocialite.css
    – embedded script “wpsocialite classes”
    load even if there are no social buttons on page. That’s quite a few additional HTTP requests.

    Now, about the additional feature…

    Could you add in a future release the ability not to load any of these scripts? May seem crazy but let me explain.

    I would like to lower the number of http requests and put the code of the above mentioned into my CSS and JS files. Now, it’s impossible.

    P.S. On one of my blogs (Chrisplaneta.com) I used to review WP plugins. Although I haven’t updated it for some time I would like to review yours because I believe it has a potential. Of all the other big plugins this one can be actually:
    a. Lightweight
    b. Easy to use

    http://wordpress.org/extend/plugins/wpsocialite/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tom Morton

    (@tm3909)

    Chris,

    Appreciate the feedback! As I mentioned in a previous post, I’m cleaning a lot of items up today. I can definitely include a “disable all scripts” button that would allow you to incorporate the css/js into your own files.

    This, however, I feel is a bit of a developer request more than a common user request (most people just want the plugin to work out of the box). Let me play around with the implementation and see what I come up with.

    Plugin Author Tom Morton

    (@tm3909)

    Chris,

    Good news! I’ve added the feature to disable the script loading.

    Because this is more of a developer feature, I’ve enabled you to define whether or not scripts load in the wp-config.php file.

    Simply add this to your wp-config.php and the scripts will not load and you can manually insert them how you’d like:

    define('WPSOCIALITE_LOADSCRIPTS', false);

    Hope this helps. Be sure to upgrade to 1.4.1 to see this change.

    Thread Starter chrisplaneta

    (@chrisplaneta)

    Great. Thank you for super-speedy respose and update. I’ll get down to checking it straight away:)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WPSocialite] Unnecessary scripts and feature request’ is closed to new replies.