Custom Global Variables
Easily create custom variables that can be accessed globally in Wordpress and PHP. Retrieval of information is extremely fast, with no database calls.
Sichere Auswahl
Yes — Custom Global Variables is a safe, well-maintained plugin to use in 2026. It runs on 5K+ sites, is rated 5/5 and was last updated 3 weeks ago, and scores 84/100 on our health check.
- Aktiv entwickelt – letztes Update vor 3 Wochen
- Getestet mit dem neuesten WordPress (7.1)
- Momentum — downloads up 87.2% vs the previous 30 days
Tägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where Custom Global Variables stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| custom global variables | #1 |
| options | #96 |
| settings | #35 |
| Shortcodes | #87 |
| variables | #1 |
Versionsübernahme
Anteil aktiver Sites pro Release.
Bewertungsaufschlüsselung
★★★★★★★★★★ 5 from 10 reviews
About Custom Global Variables
From the official readme · v1.1.4Beschreibung
Create your own custom variables to manage information on your website such as:
- Phone numbers
- Addresses
- Social media links
- HTML snippets
- And anything else
test
Easily access them globally in WordPress and PHP.
Why you need it
Rather than having to change something like an email address across multiple pages, you can do it in one place. Avoid the pitfalls of hard coding information in your WordPress theme that is likely to change.
Why it’s better
- Your variables are stored and retrieved locally without any calls to the database. That means faster load times for your pages!
- Variables can be accessed easily in PHP from the global scope.
Verwendung
Display your variables using the shortcode syntax:
[cgv variable-name]
Or using the superglobal in PHP:
<?php echo $GLOBALS['cgv']['variable-name'] ?>
Installation
- Laden Sie die Plugin-Dateien in das
/wp-content/plugins/plugin-name-Verzeichnis hoch oder installieren Sie das Plugin über den WordPress-Plugin-Bildschirm direkt. - Aktivieren Sie das Plugin über den Bildschirm „Plugins“ in WordPress
- Use the
Settings -> Custom Global Variablesscreen to define your variables
Änderungsprotokoll
1.1.4
- Added an optional link for users to share feedback about possible future agency features.
- No existing plugin functionality has been changed.
1.1.3
- Fixed variables appearing to be lost after AUTH_KEY changes. When there is no saved data for the current key and exactly one previous data file exists, it is copied for the current key. The previous file is kept. When several previous files exist, nothing is chosen automatically and a warning is shown to administrators.
- Variables are now saved through a temporary file, and the previous data is kept as a .bak file. A failed save no longer empties the data file.
- A data file that cannot be read is no longer treated as empty. Administrators see an error, the backup is used if available, and the broken file is kept with a “.corrupt-” suffix when saving.
- “0” can now be saved as a value and displayed with the shortcode.
- Values containing HTML entities such as
<b>are no longer changed when saving the settings page again. - Fixed a PHP warning when
[cgv]is used without a variable name. - Improved input handling on the settings page.
1.1.2
- Updated to be able to use markups in value fields.
1.1.1
- This is a security and maintenance release and we strongly encourage you to update to it immediately.
1.1.0
- This is a security and maintenance release and we strongly encourage you to update to it immediately.
1.0.5
- Updated accreditation
- Updated stylesheet
- Tested up to WordPress 5.1
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Fragen und Antworten
Custom Global Variables: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is Custom Global Variables free?
Yes. Custom Global Variables is free to download and use from the official WordPress.org plugin directory.
Is Custom Global Variables safe to use in 2026?
Yes — Custom Global Variables is a safe, well-maintained plugin to use in 2026. It runs on 5K+ sites, is rated 5/5 and was last updated 3 weeks ago, and scores 84/100 on our health check.
How many websites use Custom Global Variables?
Custom Global Variables is active on 5K+ WordPress websites and has been downloaded 29,245 times since it launched in April 2016. It was downloaded 4,734 times in the last 30 days.
Does Custom Global Variables work with WordPress 7.1?
Yes. The developer has tested Custom Global Variables up to WordPress 7.1.5, the latest release. It requires WordPress 3.0.1 or newer.
What PHP version does Custom Global Variables need?
Custom Global Variables requires PHP 5.6 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Custom Global Variables last updated?
The latest version, 1.1.4, was released on November 2, 2026 (3 weeks ago).
Who makes Custom Global Variables?
Custom Global Variables is developed and maintained by oden7777.
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte

