Hi @bobbysburgers,
the css is super small why cant we inline it?
Indeed, WPP’s stylesheet is quite small because it barely adds any CSS to your site.
If you want to “inline” it:
- Copy the contents of the wpp.css stylesheet (located at wordpress-popular-posts/public/css).
- Paste these CSS rules into your theme’s
header.php, somewhere before the closing </head> tag. Make sure to wrap them with <style> tags.
- Finally, disable WPP’s stylesheet.
… or you could just do step 3 and be done with it. As I previously said, WPP barely adds any CSS rules to your site.
agreed. This is what I do. But it would be pretty easy to write it into the plugin. I can help if you want.
Thanks for the suggestion, I’ll keep it in mind.