WordPress.org

Forums

Problem with Theme Switcher (5 posts)

  1. Ajay
    Member
    Posted 9 years ago #

    I installed the Theme Switcher Plugin at my Demo Blog

    When I click on a link for the theme, it gives me a 200 OK page with

    OK
    The document has moved here.

    Example: http://demoblog.ajaydsouza.com/index.php?wptheme=Connections+Reloaded

    Any suggestions?

    Also, is there a way to exclude the WordPress Classic and WordPress Default themes?

  2. Ajay
    Member
    Posted 9 years ago #

    On checking I found that wp_redirect function doesn't seem to be found.

    How do I enable it?

  3. Matt Mullenweg
    Troublemaker
    Posted 9 years ago #

    Are you on the latest stable WP?

  4. Beel
    Member
    Posted 9 years ago #

    I visit your site and get the default theme after selecting it the first time I visited. Didn't quite understand your first post so didn't respond. Would be helpful if you put the theme switcher in the other themes to make it easier to switch back.

  5. Ajay
    Member
    Posted 9 years ago #

    Matt: I was testing it on 1.6, but then decided to give it a shot at 1.5.2 at http://www.ajaydsouza.com (currently deactivated)

    I removed the if function_exists('wp_redirect') from the theme-switcher.php code only to find that I get a

    Fatal Error: Call to undefined function wp_redirect

    on the site.

    Same problem with 1.5.2 and 1.6.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags