PHPackages                             calderawp/magic-tags - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. calderawp/magic-tags

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

calderawp/magic-tags
====================

Magic Tag rendering system.

2.2.0(8y ago)32622[4 issues](https://github.com/CalderaWP/magic-tags/issues)1GPL-2.0+PHPPHP &gt;=5.3.0

Since Mar 28Pushed 8y ago2 watchersCompare

[ Source](https://github.com/CalderaWP/magic-tags)[ Packagist](https://packagist.org/packages/calderawp/magic-tags)[ RSS](/packages/calderawp-magic-tags/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)DependenciesVersions (9)Used By (1)

CalderaWP Magic Tags
====================

[](#calderawp-magic-tags)

Magic Tags renderer

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/e4eb1ff15550f8592f709ed6282ba9ffd39b1568da1ec82abce2affd2dd29a36/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f43616c6465726157502f6d616769632d746167732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/CalderaWP/magic-tags/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/b64d2db33b0425d34870433c37fa6786e8130433cb5b90a3420f584e8f912aa3/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f43616c6465726157502f6d616769632d746167732f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/CalderaWP/magic-tags/?branch=master)[![Build Status](https://camo.githubusercontent.com/17036730d9b370ccc4fb5e1800189855043c1b495d9ffbc0046d3626eb34c119/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f43616c6465726157502f6d616769632d746167732f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/CalderaWP/magic-tags/build-status/master)

Using it (Making The Magic Happen)
----------------------------------

[](#using-it-making-the-magic-happen)

```
$magic = new \calderawp\filter\magictag();
echo $magic->do_magic_tag('{post:custom_field}');
```

Built in tags
-------------

[](#built-in-tags)

- `{user:[ field | meta field ]}`
    retrieves field or meta field of the current logged in user. e.g. `{user:first_name} {user:last_name}`
- `{_GET:[name]}`
    A GET var name. `$_GET['page']` is `{_GET:page}`
- `{_POST:[name]}`
    A POST var name. `$_POST['page']` is `{_POST:page}`-`{_REQUEST:[name]}`
    A REQUEST var name. `$_REQUEST['page']` is `{_REQUEST:page}`
- `{date:[format]}`
    A PHP date format string. `{date:Y-m-d}` `{date:F j, Y, g:i a}`
- `{post:[ [field | meta field] | [ post_id : [ field | meta field ] ] ] }`
    Post field or meta field. Array fields withh be imploded into a comma-separated list. Optional Post ID and field. `{post:post_title}` or `{post:223:post_title}` to get the tiel of post ID 223
- `{ip}`
    IP address of the visitor

Extending - Filters
-------------------

[](#extending---filters)

```
apply_filters( 'caldera_magic_tag', $filterd_tag, $original_tag );
apply_filters( 'caldera_magic_tag-my_tag', $filterd_tag, $args_array );
echo $magic->do_magic_tag('An example of {my_tag:argument}');
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 58.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~136 days

Recently: every ~197 days

Total

7

Last Release

3248d ago

Major Versions

v1.0.0 → 9.x-dev2015-04-19

1.2.0 → 2.0.02015-12-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/49ce6f509c945b9c9009f75cae274d4d827e26b25616141df82e4fbdfaa207c8?d=identicon)[calderawp](/maintainers/calderawp)

---

Top Contributors

[![DavidCramer](https://avatars.githubusercontent.com/u/307466?v=4)](https://github.com/DavidCramer "DavidCramer (40 commits)")[![Shelob9](https://avatars.githubusercontent.com/u/1994311?v=4)](https://github.com/Shelob9 "Shelob9 (28 commits)")

---

Tags

wordpressmagic\_tags

### Embed Badge

![Health badge](/badges/calderawp-magic-tags/health.svg)

```
[![Health](https://phpackages.com/badges/calderawp-magic-tags/health.svg)](https://phpackages.com/packages/calderawp-magic-tags)
```

###  Alternatives

[tgmpa/tgm-plugin-activation

TGM Plugin Activation is a PHP library that allows you to easily require or recommend plugins for your WordPress themes (and plugins).

1.8k222.5k13](/packages/tgmpa-tgm-plugin-activation)[aristath/kirki

Extending the WordPress customizer

1.3k73.0k4](/packages/aristath-kirki)[afragen/git-updater

A plugin to automatically update GitHub, Bitbucket, GitLab, or Gitea hosted plugins, themes, and language packs.

3.3k1.6k](/packages/afragen-git-updater)[justintadlock/hybrid-carbon

God-like post featured image script.

202.5k](/packages/justintadlock-hybrid-carbon)[typisttech/wp-admin-notices

A simplified OOP implementation of the WordPress admin notices

141.2k](/packages/typisttech-wp-admin-notices)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
