WordPress.org

Ready to get started?Download WordPress

Forums

jQuery Pin It Button For Images
[resolved] A way to*not* load the stylesheet? (2 posts)

  1. andymiller
    Member
    Posted 1 month ago #

    Hi

    Thanks for a great plugin that's working fine.

    ... only I'd like to reduce the number of http requests by including the plugins's default styles in the stylesheet in my main child theme stylesheet.

    I couldn't find a wp_enqueue function for the stylesheet.

    Is there a way to not load the stylesheet and rely on styles in the theme?

    Thanks

    https://wordpress.org/plugins/jquery-pin-it-button-for-images/

  2. mrsztuczkens
    Member
    Plugin Author

    Posted 1 month ago #

    Hi,

    the code that adds the stylesheet can be found in includes/public/class-jpibfi-client.php. The easiest way to remove it is to delete/comment the following line: add_action( 'wp_enqueue_scripts', array( $this, 'add_plugin_styles' ) );

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.