Jul 19, 2021 3:22 pm
Hello,
Wpforo adds the following css files in the header of ALL posts and pages, and not just on wpforo pages:
How can I remove the css from non wpforo pages?
I did not enable any widgets or addons.
3 Replies
Jul 20, 2021 4:34 am
Hi @braviking,
These are wpForo widgets CSS files. wpForo widgets can be displayed in any page, not only in forum page. The widget is a site-wide component, so the widget supporting CSS is loaded side-wide as well.
Jul 20, 2021 6:15 am
thx for explaining.
I will not use wpForo widgets on my site. How can I de-register the style from the head? Whats its handle?
function wp_deregister_style( $handle ) { _wp_scripts_maybe_doing_it_wrong( __FUNCTION__, $handle ); wp_styles()->remove( $handle ); }