作者:韩信子@ShowMeAI 大数据技术 ◉ 技能提升系列:https://www.showmeai.tech/tutorials/84 行业名企应用系列:https://www.showmeai.tech/tutorials/63 本文地址:https://www.showmeai.tech/article-deta...
将以下代码添加到当前使用主题的functions.php文件中即可。 代码预览 // 文章页面外链自动添加nofollow属性和新窗口打开 add_filter( 'the_content', 'cn_nf_url_parse'); function cn_nf_...