• Resolved JJNW

    (@jjnw)


    Okay, was NOT switching between two colors because it is looking for default css files in wp-content/themes/theme-name/

    So I changed line 53 to $fileName = get_stylesheet_directory_uri().'/assets/css/'.$fileName;

    So it sees this as wp-content/themes/taco/assets/css/mystyle.css

    And line 55 to $fileName = get_stylesheet_directory_uri().'/assets/css/'.$fileName;

    So it sees this as wp-content/themes/taco/assets/css/mystyle.css

    Now it works amazingly!

    GREAT PLUGIN

    https://www.ads-software.com/plugins/wp-user-stylesheet-switcher/

  • The topic ‘Issue — not switching — now fixed’ is closed to new replies.