Support » Plugin: WP RSS Multi Importer » Remove frontend.css

  • I’d like to remove the CSS that this plugin injects into my page. I have had partial success with this in my functions.php:

    add_action( 'wp_print_styles', 'my_deregister_styles', 100 );
        function my_deregister_styles() {
           if ( !is_admin() ) {
                wp_deregister_style( 'wprssmi_template_styles' );
                wp_deregister_style( 'wprssmi_styles' );
                wp_deregister_style( 'frontend' );
            }
        }

    That last line should take care of frontend.css, but it doesn’t. frontend.css is still loaded. How do I get rid of it without altering the plugin files?

    http://wordpress.org/plugins/wp-rss-multi-importer/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Allen

    (@amweiss98)

    hmm…that should work…I’ll give this a try and see why it’s not deregistering…I’ll let you know here.

    Plugin Author Allen

    (@amweiss98)

    ok…first of all, I guess you know this, but the frontend style only shows up on any page on your site where the shortcode from the plugin is running. So, in disabling this and the others, none of the styling from the template, etc, will work…is that what you want?

    Yes, this is what I want. I have created my own template for displaying the feeds and I have incorporated the styles into my CSS.

    Plugin Author Allen

    (@amweiss98)

    ok..here is what I would try…go into the template you created and at the top put this

    wp_deregister_style( ‘frontend’ );

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove frontend.css’ is closed to new replies.