Is There a Way to Activate Wordpress Theme Without Going to Admin Panel

If I am having a theme installed in my project.So, I have downloaded a theme and unzipped it in wp-contents theme directory.

Now as we all know we can activate it by going to appearance->theme->and then chose the theme and click activate.

I am wondering if there is a way I can activate the theme without going to admin panel.

Guessing a way for to change the theme from somewhere in my database or something like that.

So, if there is a way, I would love to know.

Thanks

2

1 Answer

It is. You can change it hard way in database.

Go to database, table wp_options and find line with template and stylesheet option (around line 41,42)

If you change there option on exact name of folder where is your template stored, it should change it as current.

If you have problems with loading template, there is one more line to watch over named: _site_transient_theme_roots, here is something like path to template stored.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Chloe Bennett

Chloe Bennett

Culture, Media & Entertainment Columnist

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.

Share this article
Twitter Facebook Pinterest