在文章的加上修改的連結,
方便看到有錯誤時立即可點下連結,去後台更新。
以FabThemes的Selene Template為例,
在 1 外觀–> 2 主題編輯器–> 3 修改single.php
找
<div>
<span> Posted by <?php the_author(); ?></span>
<span> On <?php the_time('j / n / Y'); ?></span>
<span> <?php edit_post_link('[Edit]'); ?></span>
</div>
然後改為:
<div class="hmeta">
<span class="author"> Posted by <?php the_author(); ?></span>
<span class="clock"> On <?php the_time('j / n / Y'); ?></span>
<span class="clock"> <?php edit_post_link('[Edit]'); ?></span>
</div>
重點是加上<?php edit_post_link(‘[Edit]’); ?> ,
修正前:

修正後:

如不想用出現[edit]也可按需要修改:
<?php edit_post_link(‘XXX‘); ?> , XXX 為需要顯示之字樣。

