WordPress.org

Forums

Autoptimize
[resolved] How to exclude other plugin's style.css only? (7 posts)

  1. wpmubp
    Member
    Posted 11 months ago #

    I'm having trouble excluding calendarize.it plugin style.css.

    WP themes and plugins mostly use style.css. How does AO know the style.css I type in to exclude the specific plugins file is different from other style.css?

    https://wordpress.org/plugins/autoptimize/

  2. Frank Goossens
    Member
    Plugin Author

    Posted 11 months ago #

    assuming the "offending" style.css lives in wp-content/plugins/calenderize.it/css/style.css, you could simply add "calenderize.it/css/style.css" to the CSS exclusion list.

    hope this helps,
    frank

  3. wpmubp
    Member
    Posted 11 months ago #

    Thanks for your advise!

  4. wpmubp
    Member
    Posted 11 months ago #

    Is there any method/option to exclude a certain plugin?

    For example calendarize.it has many CSS and JS files, and it's hard to find out each file name and add them to exclusion list.

  5. Frank Goossens
    Member
    Plugin Author

    Posted 11 months ago #

    well, assuming the example above, you could add "plugins/calenderize.it" to the JS and CSS exclusion-list.

  6. wpmubp
    Member
    Posted 11 months ago #

    Thank you again! I think you should add this exclusion example to FAQ as I didn't know I can exclude by "plugins/pluginname."

  7. Frank Goossens
    Member
    Plugin Author

    Posted 11 months ago #

    That's a good idea, will add it for the next release!

Reply

You must log in to post.

About this Plugin

  • Autoptimize
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic