WordPress.org

Forums

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

  1. andymiller
    Member
    Posted 1 year 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. Marcin Skrzypiec
    Member
    Plugin Author

    Posted 1 year 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' ) );

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • jQuery Pin It Button For Images
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.