从DB修改wordpress 主题

由于尝试安装不兼容的主题,致使页面不能使用了。css

从DB回复主题的办法io

先查询:im

SELECT *
FROM ec_id_options
WHERE option_name = 'template'
OR option_name = 'stylesheet'
OR option_name = 'current_theme';查询

而后修改便可。img

然而你会问我不记得原来的主题名字了怎么办,有办法,兼容

在原来主题文件style.css里面文件

current_theme 对应 Theme Name主题

stylesheet 和template对应Text Domain

相关文章
相关标签/搜索