There are a couple things you can do.
Option 1 – FTP
Easiest would be to FTP into your site and change the name of the currently active theme. Your themes are located in \wp-content\themes\
. Temporarily changing the name will disable the theme. This should give you back access to the admin.
Option 2 – Database / PhpMyAdmin
You can also change the theme through the database, mostly likely via PhpMyAdmin.
There are 3 option rows in wp-options that you need to change. Once you change these it will change your theme.
- template – the “Theme Name” as defined in style.css
- stylesheet – the actual name of your theme folder
- current_theme – the actual name of your theme folder
FYI – You can run the following SQL to narrow down just those 3 rows
SELECT *
FROM wp_options
WHERE option_name="template"
OR option_name="stylesheet"
OR option_name="current_theme";
Related Posts:
- Link to specific Customizer section
- How can I add a set featured image function to a theme that doesn’t already have it built in?
- A minimalistic admin theme for a WP 3 install
- get_template_directory_uri does not seem to work when defining WP_CONTENT_DIR
- How get Themes list via REST api?
- Custom theme folder
- Creating a theme options page
- How to run WordPress from other location on the same domain
- Functions containing parameter ‘yourtheme’
- FTP + Unable to locate WordPress content directory (wp-content)
- Theme folder doesnt exist
- WordPress activate theme error $pagenow
- Conditional config WP_HOME/WP_SITEURL does not update bloginfo(‘template_url’)?
- Using DePo Masthead with WP 3+
- Why does an ad page open when I browse my websites’s wp-admin page?
- Theme seems to be preventing me from adding a new page to my site
- Does anyone know where to find the area to edit this text
- Default and warning messages & no login
- WordPress theme is not displayed properly on other computers
- Starter Theme vs Parent Theme? Pros and cons
- Any official way to create an admin theme?
- Reordering themes in admin panel
- Looking for a way to load a function after customizer preview refresh complete
- How to set a unique WordPress theme for different pages?
- Why is there no global function in wordpress to return the output of any function call?
- Visually change theme via query string?
- What does the term “bundled-theme” mean?
- Which theme template is used renders next page
- Getting rid of unused css directives [closed]
- Exclude file from theme editor
- Child theme does not appear in theme selection
- Making an IE only site (Like a Mobile only site)
- WordPress can’t see symlinked theme in Ubuntu
- How do I move the page title (H1) to header.php (outside of the loop) in a WordPress theme?
- Find proper “text domain” within theme
- Does theme update also update a child theme zip
- Broken link to theme asset after restoring backup
- What are the things that will be affected in case there is some wordpress updates or theme updates?
- Create more than one section in Theme Customizer
- Color palet in the WordPress’ front-end?
- How do you approach block structured content?
- Online theme customizer missing details
- need to aply a different style sheet for a specific page template
- WordPress themes incomplete installation or installation problem
- Switching content between summer and winter
- How does WordPress load themes? It doesn’t see mine (symlinked)
- Buddypress User Settings template location? [closed]
- How to code static pages in WordPress
- How can I manually activate my previous theme without browser access to dashboard?
- Theme, WordPress Version, MySQL Version, PHP Version Update affected files and folders
- Can “Classic Editor” plugin help to replicate the old website / theme development experience from c. 2011?
- Creating custom meta box throws PHP warning error in WordPress
- What is the point of needing add_theme_support( ‘html5’) in WordPress 5.x
- Plugin and themes are adding the same stylesheets
- How to display footer menus in wordpress
- Color Options from Theme Customizer API not returning via get_theme_mod()
- WordPress EduPress and businessbite Theme Installation Failed [closed]
- Debugging in WordPress at Theme installation [duplicate]
- understanding theme hierarchy
- wp_enqueue_style $dep argument does nothing?
- Posts as filtered list – expandable
- Is it a good practice to disable wpautop for premium themes?
- How to remove current theme customizations
- Create QuickStart Package for WordPress just like in Joomla
- How to include stylesheet in custom admin using parent_slug
- After installing a free theme, my wordpress turns into text mode when accessing remotely
- Jquery Theme Roller to WordPress
- Implementation of language_attributes function
- why is this script not working on my site
- is theme network enabled?
- Pharmacare theme login page / login modal redirection to custom URL
- Setting Multiple Post Containers Across Homepage And Costumize Them
- theme installation not working
- wordpress-theme 2017: featured image behaviour: where to set the height of the featured image?
- Changing a parent theme safely
- Trying to create a child theme with plugin
- How do WordPress themes work in relation to content?
- Is a dynamic website with lots of urls possible with wordpress [closed]
- Local WordPress from Git repo, where to set document root?
- WordPress theme directory naming
- How to assign a Category to a Page, when both are created on theme initiation?
- Using two stylesheets for mobile compatibility
- adding a unique page to an existing site
- How to change images size after theme modification?
- spacing disappears on posts when importing
- Using a page (Blog template) for home page blog posts is problematic?
- how to get rid of header banner buttons on child themes [closed]
- Add a header widget to the twentyfourteen theme?
- Theme URLs problem
- I can’t install theme: theme install failed
- HTML content filtered on blog page
- How can I duplicate this site/get a theme similar to this site? [closed]
- WordPress premiuim [closed]
- Setting colors in theme.json changes default font size and family in backend
- What’s the best way to go from a design to a customized WordPress site?
- Alternative to Underscore.me for gen custom blank theme [closed]
- My theme switches to “Twenty twenty two” on its own even if deleted
- Check if style is declared in child theme from within parent theme. if so, use that style in parent theme
- Every newly created page links to the same deleted page
- Homepage not loading correctly, only after refreshing