Change a WordPress theme in the database

You can activate your WordPress theme from within the database. This is helpful if you can't access WordPress due to an issue with your theme.

  1. Log into phpMyAdmin (cPanel / Plesk / Web Hosting / Managed WordPress).

    Note: If you're using cPanel Hosting, you must select the database for your WordPress site in the left-hand column before proceeding to the next step.

  2. Click on the wp_options table.
  3. Under the option_name column, locate the template entry. You may need to navigate beyond the first page of entries.
  4. Click Edit next to the template entry.
  5. In the option_value column, change the value to the name of your theme. The new value must be the same as your theme's folder name.
  6. To save, click Go.
  7. Click Edit next to the stylesheet entry.
  8. In the option_value column, change the value to the name of your theme (or child theme, if you've previously created one). The new value must be the same as your theme's folder name(ex. twentyseventeen).
  9. To save, click Go.

More info

More info about WPPS.

Was dit artikel nuttig?
Hartelijk dank voor je feedback. Gebruik het supporttelefoonnummer of de bovenstaande chatoptie als je een vertegenwoordiger van de afdeling Klantenondersteuning wilt spreken.
Fijn dat we konden helpen! Kunnen we nog iets voor je doen?
Dat spijt ons. Vertel ons wat je verwarrend vond of waarom je probleem niet is opgelost via de geboden oplossing.