[WordPress] 外掛分享: KF most read

首頁外掛目錄 › KF most read
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
10+
安裝啟用
尚無評分
5868 天前
最後更新
問題解決
WordPress 2.7+ v1.2 上架:2009-03-16

內容簡介

此外掛提供一個函數,可用於註冊/輸出/返回最瀏覽的文章清單。

使用方法

您可以在模板的任何位置使用函數 kf_get_posts_by_hits()。
範例:

最多閱讀

<!-- 返回模式(無輸出),檢索過去31天內瀏覽次數最多的5篇文章 -->
<?php

$my_posts = kf_get_posts_by_hits(31,5);
// ..對 $my_posts 做些什麼

?>

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「KF most read」→ 直接安裝(推薦)

原文外掛簡介

This plugin provides a function to register/output/return a list of the most viewed posts.
Usage
You can use the function kf_get_posts_by_hits() anywhere in the template.
Examples:

Most read


延伸相關外掛

文章
Filter
Apply Filters
Mastodon