50+
安裝啟用
★★☆☆☆
2/5 分(1 則評價)
4934 天前
最後更新
—
問題解決
WordPress 2.8+ v1.0.1 上架:2009-11-03
內容簡介
與隨機跳轉外掛不同,此外掛確保使用者不會看到同一篇文章兩次。
它透過儲存包含使用者看到的單篇文章清單的 Cookie 來實現。在重新導向之前,它會檢查該清單。
使用方式
只需在您想要出現連結的佈景主題任何地方放置以下程式碼即可:
<?php random_post_link(); ?>
您可以透過以下方式指定連結上的文字:
<?php random_post_link('Feeling lucky'); ?>
連結:外掛最新消息 | 作者網站
外掛標籤
開發者團隊
原文外掛簡介
Unlike the Random Redirect plugin, this plugin makes sure that a user will not see the same post twice.
It does this by storing a cookie containing a list of single posts that the user has seen. It then checks that list before redirecting.
Usage
Just put this line anywhere in your theme where you want the link to appear.
You can specify the text you want on the link like so:
Links: Plugin News | Author’s Site
