Abdiel Global Variables

Beschreibung

Abdiel Global Variables lets you create and manage reusable plain-text values (phone numbers, URLs, short messages, etc.) and call them anywhere on your site using shortcodes.

Instead of updating the same phone number or link across multiple pages, you edit it once in the plugin screen and the shortcode output updates everywhere.

Key features:

  • Create “global values” with a label, shortcode and text value.
  • Works with phone numbers, URLs, short messages and any plain text.
  • Use values in posts, pages, widgets or templates via shortcodes.
  • Simple admin UI to add, edit or delete items.
  • Import and export your items as JSON.
  • No custom database tables (uses the WordPress Options API).

Credits

This plugin was developed with assistance from ChatGPT for code iteration and debugging.

Screenshots

  • List of saved global values with example data. Real site information has been replaced with generic sample values for demonstration purposes.
  • Edit screen showing a sample global value and its shortcode.
  • Different ways to use a global value: as plain text using the shortcode, inside image and link fields, and through dynamic shortcode options in compatible builders.

FAQ

Can I store text that is not a link?

Yes. The plugin stores plain text: phones, codes, short messages, etc.

How do I use the shortcodes?

In the plugin screen you will see the shortcode for each item, for example:
[support_whatsapp]. Copy and paste it into the block editor, widgets, or compatible builders.

Can I use it in PHP templates?

Yes. You can use:

echo do_shortcode('[your_shortcode]');

inside your PHP templates.

Does the plugin allow user HTML or scripts?

No. Values are treated as plain text and are escaped on output.

Is there a paid version?

No. This plugin is free. If you want to support development, you can do it here:
https://joseabdiel.com/apoyar/

Rezensionen

10. Februar 2026 1 Antwort
I have been looking for this functionality for a while now and Gemini suggested this Plugin! We have multiple recruitment pages where the „graduation-year“ is indicated, and before, I had to change each page’s text value. But now, I only have to change [graduation_year] and most blocks (so far) will reflect the new value! It even works inside Tablepress cells!Thank you so much! Will have to ask my boss for the donation budget tho :))
Die 1 Rezension lesen

Mitwirkende und Entwickler

„Abdiel Global Variables“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

„Abdiel Global Variables“ wurde in 2 Sprachen übersetzt. Danke an die Übersetzer für ihre Mitwirkung.

Übersetze „Abdiel Global Variables“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN-Repository an oder abonniere das Entwicklungsprotokoll per RSS.

Änderungsprotokoll

1.0.0

  • Initial release.