We use cookies
We use cookies to optimize our website. By continuing to browse the site, you agree to our use of cookies.
New design
Control panel
  • Русский
  • Українська
  • English
  • UAH
  • USD
  • RUB
  • EUR
  • 0-800-307-307 Hotline
  • +38 (044) 392-74-33 Kiev
  • +38 (057) 728-39-00 Kharkiv
  • +38 (056) 794-38-31 Dnipro
  • +38 (032) 229-58-93 Lviv
  • +38 (048) 738-57-70 Odessa
  • +38(093) 170-15-42  Life
  • +38 (067) 400-88-44 Kievstar
  • +1(888)393-24-51  USA, Toll free
  • +44(131)507-01-14  Great Britain
  • +7 (499) 348-28-61 Moscow

2.13.1.15. Changing theme in Wordpress via database

Important points

  • Specify only a correctly working installed theme and its full name. If you enter an incorrect topic name or a topic that is malfunctioning, the site may stop working.
  • As a rule, it is worth using one of the predefined default themes, if any, for example:
    • twentyfifteen
    • twentyseventeen
    • twentynineteen

To use the database to change the installed theme on a WordPress site, do the following:

  1. In the site config file takealook the name of the database to which it is connected.
  2. Openup database in phpMyAdmin.
  3. Execute following SQL query:
    UPDATE wp_options SET option_value='name_новой_Topics' WHERE option_name = 'template' OR option_name = 'stylesheet';

    If the names of the tables in the database do not start with the standard wp_and with a different prefix, make the appropriate changes to the SQL queries.

  4. Check the site is working.