[WordPress] 外掛分享: DialPerPage

首頁外掛目錄 › DialPerPage
WordPress 外掛 DialPerPage 的封面圖片
全新外掛
安裝啟用
尚無評分
6 天前
最後更新
問題解決
WordPress 6.0+ PHP 8.0+ v1.1.1 上架:2026-08-24

內容簡介

DialPerPage 外掛可以根據特定的 WordPress 網頁 URL,將一個設定的來源電話號碼替換為頁面專屬的電話號碼。此外掛在最終的 HTML 回應中運行,能夠更新可見的電話號碼及相關連結,並確保不影響其他頁面或號碼。

【主要功能】
• 為每個頁面指派不同的替換號碼
• 支援完整 URL 或相對路徑
• 更新可見號碼及電話連結
• 保留原始電話格式,包括空格和符號
• 處理跨嵌套元素的電話數字
• 支援 10 到 15 位的國際電話號碼

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「DialPerPage」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

DialPerPage replaces one configured source phone number with page-specific numbers on exact WordPress URLs.
Replacement runs on the final HTML response, so the plugin can update shared headers and footers, page-builder output, modal windows, visible text, tel: links, WhatsApp links, and phones whose characters are split across nested HTML elements.
Only the configured source number is changed. Other numbers and pages remain untouched.
Features

Assign a different replacement number to each page.
Accept full URLs or relative paths.
Update visible numbers, tel: links, and phone-based messenger URLs.
Preserve the original phone mask, including spaces, non-breaking spaces, parentheses, dots, and hyphens.
Handle phone digits split across nested span or small elements.
Search, validate, add, and remove rules from a responsive settings screen.
Support international phone numbers containing 10 to 15 digits.
Follow the standard WordPress locale and WordPress.org language-pack system.
Make no changes to post content, theme files, or templates.
Purge supported page caches after activation, upgrades, and settings changes.
Restore managed phone links if a call-tracking script changes them in the browser.
Send no data to external services and include no tracking.

Performance
The plugin resolves the current request path with an exact array lookup. Output buffering, HTML processing, and the small browser guard start only when that path has a valid replacement rule. AJAX, REST, JSON, feeds, cron, WP-CLI, XML-RPC, robots, favicon, HEAD, and non-HTML responses are skipped.
Admin CSS and JavaScript load only on the plugin settings screen. Settings and the active rule are cached for the current request.
Privacy
DialPerPage does not collect, transmit, or share personal data. It makes no external requests and stores only its configuration in the WordPress options table.

延伸相關外掛

文章
Filter
Mastodon