home
—
from
最新方法:
WordPress twenty twentyfour post open in new tab(How To Add “Target Blank” To Your Links In WordPress)
在WordPress主题的 functions.php 的最后添加下面的代码即可:
function autoblank($text) {$return = str_replace(‘<a’, ‘<a target=”_blank”‘, $text);return $return;}add_filter(‘the_content’, ‘autoblank’);