Bug? > Enqueue in Footer
-
Good Day!
Your plugin’s feature “Enqueue in Footer” works well under certain conditions. Mainly, when the Position selected for the banner is Bottom.
However, when we select Top and Enqueue in Footer, your plugin’s CSS file shows up as render-blocking. You can confirm this by running a webpagetest.org test.
To fix our issue, we added the following code to the header of our website:
<link rel="preload" href=" https://www.mywebsite.com/wp-content/plugins/wpfront-notification-bar/css/wpfront-notification-bar.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'" />
The above fix is considered temporary. Also, the fallout from adding the above to our website header is that the file is now loaded on all of our website pages, rather than only those that use your banner.
Can you kindly look into this and provide a fix at your next convenient plugin revision level?
Thank you!
- The topic ‘Bug? > Enqueue in Footer’ is closed to new replies.