[WordPress] 外掛分享: Extended Random Number Generator

首頁外掛目錄 › Extended Random Number Generator
70+
安裝啟用
★★★★★
5/5 分(1 則評價)
3896 天前
最後更新
問題解決
WordPress 2.7+ v1.1 上架:2013-01-23

內容簡介

預設情況下,原始的 Random Number Generator 外掛程式短碼可在小工具、文章和頁面中使用。我們擴充了該外掛程式的核心能力,使其還可在文字/ HTML 欄位中使用,例如用於廣告宣傳。

主要用途之一:通過插入隨機數字,可用於打敗瀏覽器緩存。最常見的應用是在 Google DoubleClick 廣告中,他們要求在腳本中插入 ‘ord=’ 以確保廣告創意不被瀏覽器緩存。

使用範例 1:
輸入:http://my_url?ord=[random-number]”
輸出:http://my_url?ord=134548。

使用範例 2:
輸入:[random-number from=”2″ to=”72″ format=”%b”]%d minutes[/random-number]
輸出:介於 2 和 72 之間的整數值,後面跟著「minutes」這個詞

支援的語言

英文
法文
俄文
所有語言都有基於原始的 Random Number Generator 外掛程式的支援

外掛標籤

開發者團隊

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

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

原文外掛簡介

By default, the original Random Number Generator plugin short code works within widgets, posts, and pages. We have extended the core capability of the plugin so that it also works within text/html fields, such as those used for advertising purposes.
One primary use: It can be used to defeat browser caching by inserting a random number. The most common implementation of this is within Google DoubleClick ads where they require an ‘ord=’ within the script to ensure that ad creative is not cached by the browers.
Use Example 1:
input: http://my_url?ord=[random-number]”
output: http://my_url?ord=134548.
Use Example 2:
input: [random-number from=”2″ to=”72″ format=”%b”]%d minutes[/random-number]
output: an integer value between 2 & 72 followed by the word ‘minutes’
Supported languages

English
French
Russian
All languages supported based on orginal Random Number Generator plugin

文章
Filter
Apply Filters
Mastodon