WordPress.org

Ready to get started?Download WordPress

Forums

SyntaxHighlighter Evolved
[Feature Request]Add stylesheets via WordPress's Built-in Functi (2 posts)

  1. utdemir
    Member
    Posted 4 years ago #

    Is it possible?

    I want it because I'm using WP-Minify plugin and it collect's all my css to one css file and minifies them. But it can't include syntaxhighlighter's css files and it costs me to extra two http requests.

    But, best plugin ever :).

  2. Alex Mills (Viper007Bond)
    Moderator
    Plugin Author

    Posted 4 years ago #

    It's possible, but not ideal. It's done the way it's done now so that the stylesheets are only loaded when they're actually needed (i.e. there's code to display).

    If I switched to using wp_enqueue_style(), then they would have to be always loaded for all pages.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic