Fix for not switch to home page
-
When you switch the template you are redirect to homepage, with this fix the user remain the current page.
Replace in theme-switcher.php the line 180 with:
$theme_data[str_replace('?',$_SERVER["REQUEST_URI"].'?',add_query_arg('wptheme', $theme_name, get_option('home')))] = $theme_name;
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Fix for not switch to home page’ is closed to new replies.