
內容簡介
SufiLabs Global Variables Manager 是一款方便的 WordPress 外掛,讓使用者能夠在一個介面中管理多個全域變數,並自動更新網站上所有出現這些變數的內容,節省時間與精力。
【主要功能】
• 簡單的管理介面,輕鬆新增、編輯和刪除變數
• 支援七種變數類型:文字、文字區域、電子郵件、網址、電話、WhatsApp號碼和地址
• 提供短碼功能 [gvmgr key="your_key"] 以便在內容中使用
• 自動生成電話、WhatsApp、電子郵件和地圖連結
• 所有輸出均已過濾,避免代碼注入風險
• 無追蹤、無廣告、無外部請求,網站不需載入 JavaScript
外掛標籤
開發者團隊
② 後台搜尋「SufiLabs Global Variables Manager」→ 直接安裝(推薦)
原文外掛簡介
Have you ever changed your phone number and then had to hunt through twenty pages to update it? Global Variables Manager fixes that. You type each piece of information once, on one screen. Everywhere that information appears on your site updates by itself.
How it works
Go to Global Variables in the WordPress admin menu.
Add a variable, for example the key phone_number with your phone number as the value.
Put [gvmgr key="phone_number"] anywhere you can write content.
That is all. Change the value later and every page follows.
Links are built for you
Phone, WhatsApp, email and address variables also create ready-made links automatically, so you never type tel:, wa.me or mailto: by hand:
A Phone variable gives you an international-format number and a tel: link.
A WhatsApp Number variable gives you a wa.me link (with an optional pre-filled message) and a readable number.
An Email variable gives you a mailto: link.
An Address variable gives you a one-line version, a Google Maps link and a directions link.
These are never stored. They are worked out from the value you saved, so there is only ever one place to change.
Features
Simple admin screen: add, edit and delete variables in one table.
Seven types: Text, Textarea, Email, URL, Phone, WhatsApp Number and Address.
Shortcode: [gvmgr key="your_key"].
PHP function for theme developers: gvmgr_get_variable( 'your_key' ).
Elementor dynamic tag (Site → Global Variable) for text fields and link fields. Elementor is optional.
Automatic phone, WhatsApp, email and map links.
All output is escaped, so a variable cannot inject code into your pages.
No tracking, no ads, no external requests, no JavaScript on your site.
Optional setting to delete all data when the plugin is deleted. Off by default.
Translation-ready.
Good to know
Only users who can manage options (Administrators) can create or change variables.
Anyone who can write a post or page can print any variable with the shortcode, and visitors can see every variable wherever you use it. Do not store passwords or API keys in this plugin.
Phone numbers typed without a country code are assumed to belong to the United Kingdom (+44). If you are elsewhere, add a variable with the key country_code (for example 1 for the USA) and set it once.
External services
This plugin does not send any data anywhere and makes no requests to outside services.
The automatically generated links point to third-party sites, but only when a visitor clicks them: WhatsApp (https://wa.me/) for WhatsApp links, and Google Maps (https://www.google.com/maps/) for map and directions links. Nothing is sent to those services by your website or by this plugin. Once a visitor follows a link, that service’s own terms and privacy policy apply: WhatsApp and Google.
