typecho文章如何在新窗口打开!
typecho吧
全部回复
仅看楼主
level 9
樱之花💕 楼主
打开自己模板的index.php文件
找到以下代码:
<a href="<?php $this->permalink() ?>" ><h4 class="post-title" itemprop="headline"><?php $this->title() ?></h4>
然后在” <a href="<?php $this->permalink() ?>" > “添加 target="_blank" 这代码 在新窗口打开!
完成后!
<a href="<?php $this->permalink() ?>" target="_blank"><h4 class="post-title" itemprop="headline"><?php $this->title() ?></h4>
保存搞得! 参考了wp的新窗口打开方法!
http://www.9i3.cn 大家可以看我的效果!!
2015年08月27日 03点08分 1
level 11
。。。这个不是最简单的HTML基础么,这都能水一贴[啊]
2015年08月27日 06点08分 2
level 11
水的一手好帖
   --欢迎浏览 http://aword.net
2015年09月01日 23点09分 3
level 11
直接中键
2015年09月06日 20点09分 4
[滑稽]
2015年09月12日 05点09分
1