Conversation
supportHello, I recommend updating the module and removing the CSS that you’re directly inserting into the source page of the website, as this negatively impacts the page speed. I have applied the modification to the module; you can release the update directly and place the style inside your plugin in the file you will create, spoki-style-buttons.css . The modification I made is as follows: www/wp-content/plugins/spoki/spoki.php , lines 236 to 244, with: public function add_styles() { $styles = ['buttons']; foreach ($styles as $style) { wp_enqueue_style( "spoki-style-$style", plugins_url("assets/css/$style.css", __FILE__), [], filemtime(SPOKI_DIR . "assets/css/$style.css") ); } } This way, I can load the CSS within my theme, but if you release an update, you can place the CSS inside your plugin’s folder.
No comments were stored for this source.