WordPress.org

Support

Support » How-To and Troubleshooting » Broken plugin CSS link in . Trying to remove.

Broken plugin CSS link in . Trying to remove.

  • Hi,

    I installed Quote Rotator on our site and for some reason it generated a broken link in the <head> section of our site that will not remove itself when I remove the plugin. I appreciate guidance on how to fix or remove this:

    <link rel=’stylesheet’ id=’quote_rotator_frontend_style-css’ href=’http://www.ASDFSAD-group.comQUOTE_ROTATOR_CSS_URLfrontend-style.css?ver=3.3.1′ type=’text/css’ media=’all’ />

    Note that it forgot the “/” between the main url and the added text.

    Thanks in advance!

Viewing 1 replies (of 1 total)
  • I think I found the issue.
    Change this in class-quote-rotator-plugin.php

    function print_styles()
    	{
    		wp_register_style( 'quote_rotator_frontend_style', QUOTE_ROTATOR_CSS_URL . 'frontend-style.css' );
    		wp_enqueue_style( 'quote_rotator_frontend_style' );
    	}

    to:

    function print_styles()
    	{
    		wp_register_style( 'quote_rotator_frontend_style'. QUOTE_ROTATOR_CSS_URL . 'frontend-style.css' );
    		wp_enqueue_style( 'quote_rotator_frontend_style' );
    	}

    Starts on line 60

Viewing 1 replies (of 1 total)
  • The topic ‘Broken plugin CSS link in . Trying to remove.’ is closed to new replies.
Skip to toolbar