Of course it is not working. What the current line of code in this plugin does is enqueue the active theme’s stylesheet with a wrong handler, not WordPress’s Dashicons stylesheet. That is why I proposed the correct solution of using: wp_enqueue_style( 'dashicons' ); which is the appropriate approach if the intention is to make this icon set available on the frontend. In any case, it would be useful or interesting to have an option in the plugin settings where this is optional. If the user does not want to display those icons in the quotes, there is no need to load the Dashicons stylesheet on the frontend, and the page load can be reduced.
Yes I see! I will get that fixed in the next update. I will look at adding that option as well… have a few things with this plugin where it need to be optimized better. Really struggling to find the best solution between using a large dataset of quotes vs. excessive ajax calls, for example. Please do let me know if you happen to notice anything else.
Thanks for the heads up!
Hi pobrehablador,
I have fixed the enqueue for the dash-icons. Thanks again!
if ( $this->check_option( 'show_icons' ) ) {
wp_enqueue_style( 'dashicons' );
}