WordPress.org

Ready to get started?Download WordPress

Forums

Juiz Social Post Sharer
[resolved] Conditionally load CSS (3 posts)

  1. Jared Atchison
    Member
    Posted 1 year ago #

    Great plugin. Love how simple and fast it is!

    Once very important suggestion.

    I would recommend tweaking it so that the CSS file only loads if the shortcode is present or the code is selected to load (is_single etc).

    You can very easily adapt some of the methods described here http://scribu.net/wordpress/optimal-script-loading.html

    http://wordpress.org/plugins/juiz-social-post-sharer/

  2. Geoffrey
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Jared,

    Yes, you're right.
    Thank you for your suggestion! I'll take care on it for the next version.

    I stick this topic :)

    Have a nice day.

  3. Geoffrey
    Member
    Plugin Author

    Posted 6 months ago #

    Note that you can use the hook :
    juiz_sps_use_default_css

    Documentation : http://creativejuiz.fr/blog/doc/juiz-social-post-sharer-documentation.html#jsps_remove_default_css

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.