WordPress.org

Ready to get started?Download WordPress

Forums

Broken plugin CSS link in . Trying to remove. (2 posts)

  1. wonder1and
    Member
    Posted 2 years ago #

    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!

  2. Håvard Persson
    Member
    Posted 2 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic