Title: [Plugin: Toolbar Theme Switcher] Changing theme not working when using https
Last modified: August 20, 2016

---

# [Plugin: Toolbar Theme Switcher] Changing theme not working when using https

 *  Resolved [jakhoe](https://wordpress.org/support/users/jakhoe/)
 * (@jakhoe)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-toolbar-theme-switcher-changing-theme-not-working-when-using-https/)
 * When using both http and https on the site, it is not possible to change the 
   theme on https pages.
 * This is easily fixed by changing this line in ‘get_cookie_name()’:
    $hash = ‘
   wordpress_tts_theme_’ . md5( get_home_url() ); to: $hash = ‘wordpress_tts_theme_’.
   md5( home_url(”,’http’) )
 * Could you include this change in the next update?
 * Except from this, plugin is working perfectly! Thank you!
 * [http://wordpress.org/extend/plugins/toolbar-theme-switcher/](http://wordpress.org/extend/plugins/toolbar-theme-switcher/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Andrey “Rarst” Savchenko](https://wordpress.org/support/users/rarst/)
 * (@rarst)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-toolbar-theme-switcher-changing-theme-not-working-when-using-https/#post-3046701)
 * Thank you for reporting!
 * It seems that my local local stack is not setup for https development and testing
   right now, so not adding this immediately – noted to work on later.
 *  [lkraav](https://wordpress.org/support/users/lkraav/)
 * (@lkraav)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-toolbar-theme-switcher-changing-theme-not-working-when-using-https/#post-3046854)
 * Great call [@jakhoe](https://wordpress.org/support/users/jakhoe/), too bad I 
   was re-inventing the wheel on this last night 🙂
 *  Plugin Author [Andrey “Rarst” Savchenko](https://wordpress.org/support/users/rarst/)
 * (@rarst)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-toolbar-theme-switcher-changing-theme-not-working-when-using-https/#post-3046855)
 * Plugin version 1.1.3 released with this fix.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Toolbar Theme Switcher] Changing theme not working when using
https’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/toolbar-theme-switcher_fefefe.svg)
 * [Toolbar Theme Switcher](https://wordpress.org/plugins/toolbar-theme-switcher/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/toolbar-theme-switcher/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/toolbar-theme-switcher/)
 * [Active Topics](https://wordpress.org/support/plugin/toolbar-theme-switcher/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/toolbar-theme-switcher/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/toolbar-theme-switcher/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Andrey “Rarst” Savchenko](https://wordpress.org/support/users/rarst/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-toolbar-theme-switcher-changing-theme-not-working-when-using-https/#post-3046855)
 * Status: resolved