Linux 软件免费装
Banner图

DialPerPage

开发者
更新时间 2026年8月26日 00:23
PHP版本: 8.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

landing pages phone telephone call tracking dynamic number insertion

下载

1.1.1

详情介绍:

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 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.

安装:

  1. In WordPress, open Plugins > Add New Plugin > Upload Plugin.
  2. Upload dialperpage.zip, install it, and activate DialPerPage.
  3. Open Settings > DialPerPage.
  4. Enter the source phone currently displayed on the site.
  5. Add a page URL or path and its replacement phone.
  6. Save the settings. DialPerPage clears supported WordPress page caches automatically; clear any hosting or CDN cache that is managed outside WordPress.

常见问题:

Does the plugin modify content in the database?

No. Replacement is applied to the final HTML response. Posts, page-builder data, theme files, and templates are not changed.

Does it run on pages without a rule?

The plugin performs one exact path lookup. When no rule matches, output buffering does not start and the HTML is not scanned or copied.

Will unrelated phone numbers be replaced?

No. Only the configured source phone is matched. For 11-digit Russian phones, 7 and 8 prefixes are treated as equivalent.

Is the original phone format preserved?

Yes, when source and replacement numbers contain the same number of digits. Only digits change; separators and HTML spacing entities remain in place. Compact tel: values remain compact.

Does it support phones split into many HTML tags?

Yes. Inside a matching tel: link, the plugin can replace digits distributed across nested span and small elements while retaining their tags, styles, classes, and microdata.

Can I use a full URL?

Yes. Both https://example.com/service/ and /service/ are accepted. Query parameters are ignored, and matching uses the normalized path.

Why is the old phone still visible?

Saving settings automatically purges Hyper Cache, WP Super Cache, WP Rocket, W3 Total Cache, Cache Enabler, and LiteSpeed Cache when their public purge APIs are available. After updating from an earlier DialPerPage release, clear any remaining hosting or CDN cache once. Then test the page in a private browser window and confirm that the saved path exactly matches the page path.

What if a call-tracking script changes the number after the page loads?

On pages with an active rule, DialPerPage marks managed tel: links and loads a lightweight browser guard in the document head. If a third-party script such as a dynamic call-tracking service changes a marked link later, the guard restores its configured number before interaction. Unmanaged links and pages without rules are not observed.

How are translations handled?

DialPerPage follows the current WordPress locale. Community translations are managed and delivered through the standard WordPress.org language-pack system.

更新日志:

1.1.1 1.1 1.0