Topics

Solutions

Easy solutions and ideas found after long googling or hard coding

Integrate Theme Switcher

What if you want Theme Switcher into all your WordPress Themes?
Try this

  • Open file “wp-includes\template-functions-general.php” and search for “function wp_meta() {“
  • add this code just after "do_action(‘wp_meta’);"
echo "<h2>Themes:</h2><div>";
wp_theme_switcher('dropdown');
echo "</div>";
  • save the file, and you’ll get the Theme Switcher on everypage after the meta

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close