[WordPress] 外掛分享: Compete widget

首頁外掛目錄 › Compete widget
10+
安裝啟用
尚無評分
6281 天前
最後更新
問題解決
WordPress 2.0.2+ v1.3 上架:2008-03-25

內容簡介

需求

WordPress 2.2 或 2.0.x/2.1.x,需使用 WordPress Widgets
PHP 4.3.0 或更新版本(用於函數 file_get_contents)
從 Compete.com 獲取 API 金鑰(您可以使用提供的 API 金鑰,但每天僅限制為 1000 次請求)

特點

顯示有關您的網站或您選擇的任何網站的數據
通過小工具管理幾乎所有方面的編輯
對於高流量站點進行緩存

格式

您可以編輯“小工具格式”以更改信息的顯示方式。要訪問變數,請使用以下格式:

%rank% - 網站排名
%icon% - 跟您的流量排名有關的圖示(根據選項的大小或小)
%count% - 人數統計
%host% - 用於查找的主機名稱
%link% - 連結到主機的 compete 頁面
%compete% - compete 連結 - Compete.com

默認格式如下:

<span style=”float:right;”><img src=”%icon%” alt=”%rank%” /></span>
<a href=”%link%”>%host%</a><br />

排名: %rank%<br />
人數: %count%<br />
%compete%

外掛標籤

開發者團隊

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

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

原文外掛簡介

Requirements

WordPress 2.2 or 2.0.x/2.1.x with WordPress Widgets
PHP 4.3.0 or greater (needed for function file_get_contents)
API Key from Compete.com (You can use the one supplied, but that is limited to 1000 requests a day)

Features

Displays data about your site or any site you choose
Edit nearly all aspects of it via widget admin
Caching for large traffic sites

Formatting
You can edit ‘Widget Formatting’ to change how the info is displayed. To access the variables, use this formatting:

%rank% – Rank of the site
%icon% – The icon relating to your traffic rank (large or small depending on options)
%count% – People count
%host% – Hostname used in lookup
%link% – Link to the compete page for the host
%compete% – The compete link – Compete.com

The default formatting is:
”%rank%”
%host%
Ranking: %rank%
People: %count%
%compete%

文章
Filter
Apply Filters
Mastodon