[代码增强]WordPress文章标题别名自动翻译为英文-WordPress主题

摘要:疏于后台增强篇了,很少有主题函数里加入了这个功能。文章别名自动翻译为英文,应用的百度翻译接口,可以说已经非常的ai化了,…

疏于后台增强篇了,很少有主题函数里加入了这个功能。文章别名自动翻译为英文,应用的百度翻译接口,可以说已经非常的ai化了,不过如果你的文章标题很长的话,别名也会很长哇

将代码加到主题functions.php即可。

来源:http://www.wazhuti.com/962.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_13015.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?