通过SQL修改wordpress文章id的方法-WordPress主题

摘要:修改wordpress文章id在正常使用中应用场景并不多,简单大挖简单讲一下通过sql设置wordpress文章id替换…

修改wordpress文章id在正常使用中应用场景并不多,简单大挖简单讲一下通过sql设置wordpress文章id替换的方法。

进入 mysql 命令或者 phpmyadmin 的 SQL,执行如下命令即可:

如将文章ID为3368的文章修改为189

如果是虚拟主题虚拟主机,可以使用以下代码:

来源:http://www.wazhuti.com/3796.html

微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_12722.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?