Support » Plugin: PWD Theme Switcher » Theme Switcher Assumes WordPress is installed in Webroot

  • When I switch themes, this plugin attempts to take me to my home page.

    What I expected…

    I expected to see the current page displayed using the new theme (preferable). At the very least, I expected it to take me to the home page of my website.

    What actually happens…

    Because my site is installed in a subdirectory of my website (ex: “https://example.com/wordpress/”), I don’t even end up on my website at all.

    Suggestion…

    Instead of assuming that the home page is at “/”, use the get_home_url() function instead.

    https://wordpress.org/plugins/pwd-theme-switcher/

  • The topic ‘Theme Switcher Assumes WordPress is installed in Webroot’ is closed to new replies.