• Resolved sangfroidweb

    (@sangfroidweb)


    One of my favorite plugins. Thanks!

    Would you consider adding a feature allowing “late loading” of of the stylesheet? I find that if hook into the get_footer and call wp_enqueue_style there wordpress still enqueues the styles, but google page speed tester doesn’t get mad at them. I’ve got all my other styles working this way, and BFA is the last one making google angry. I could load the style manually… but I love having the ability to let clients use the amazing shortcode generator in your plugin… so I don’t want to give up your plugin…

    Or .. if you don’t want to do the Late Load option.. how about a “Don’t load style (I’ll enqueue it myself – For advanced users )” and you can leave it to the programmer to enqueue the style themselves?

    Anyway.. just a feature request. thanks again for the amazing plugin!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mickey Kay

    (@mcguive7)

    Hi there,

    Loading CSS in the head of your document is generally considered best practice. Loading in the footer may increase your page speed score, however the better solution is to use a tool like Autoptimize to concatenate and minify ALL your stylesheets and save on network requests. In general, this is less a task for every individual plugin to manage, and more an issue to be dealt with via one specialized solution I would argue.

    Totally support this topic.
    “Loading CSS in the head of your document is generally considered best practice” – this rule applies for main styles that renders general view of website. Fonts could be loaded later. And yeah, function that allows you to disable loading fontawesome from plugin would be very nice.
    “concatenate and minify” – CDN file? – How?
    Don’t get mad, I love your plugin, just want to tell that “sangfroidweb” is not the only one who need this functionality. ??
    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Load Style Late?’ is closed to new replies.