PHPackages                             thelia/short-code-meta-module - 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. thelia/short-code-meta-module

ActiveThelia-module[Utility &amp; Helpers](/categories/utility)

thelia/short-code-meta-module
=============================

2.0.0(3y ago)016.2k↑122.2%12LGPL-3.0+PHP

Since Jan 18Pushed 9mo ago5 watchersCompare

[ Source](https://github.com/thelia-modules/ShortCodeMeta)[ Packagist](https://packagist.org/packages/thelia/short-code-meta-module)[ RSS](/packages/thelia-short-code-meta-module/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (5)Used By (2)

Short Code Meta
===============

[](#short-code-meta)

ShortCodeMeta allow you to add meat in head for

- Empty page (`noindex, nofollow`)
- Pagination link

Installation
------------

[](#installation)

### Manually

[](#manually)

- Copy the module into `/local/modules/` directory and be sure that the name of the module is ShortCodeMeta.
- Activate it in your thelia administration panel

### Composer

[](#composer)

Add it in your main thelia composer.json file

```
composer require thelia/short-code-meta-module:~1.0

```

Usage
-----

[](#usage)

This module use ShortCode () to add metas in head after smarty has completly build the page.
The short codes are automatically added in templates with the hook `main.head-bottom` so be sure you have this hook in your template layout.

### Empty pages

[](#empty-pages)

To add a meta `noindex, nofollow` to an empty page you have to inform the module with the smarty tag `{set_empty_page_meta}`
All the page where this tag is present will have a noindex meta.
For example if you use a loop product in your category page you can add this tag in your elseloop like this :

```
    {ifloop rel="product_list"}

            {loop type="product" name="product_list" category=$category_id}
                {$TITLE}
            {/loop}

    {/ifloop}
    {elseloop rel="product_list"}
        {set_empty_page_meta}
    {/elseloop}

```

With this, all categories page without products will not be indexed by robots.

### Pagination meta link

[](#pagination-meta-link)

To add a `` in your head you just have to add the smarty tag with the good url :
`{set_prev_page_meta_link url={$url}}` for the prev link
`{set_next_page_meta_link url={$url}}` for the next link

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance40

Moderate activity, may be stable

Popularity26

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 62.5% 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 ~1315 days

Total

2

Last Release

1362d ago

Major Versions

1.0.0 → 2.0.02022-08-25

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2196919?v=4)[thelia](/maintainers/thelia)[@thelia](https://github.com/thelia)

---

Top Contributors

[![lopes-vincent](https://avatars.githubusercontent.com/u/6057206?v=4)](https://github.com/lopes-vincent "lopes-vincent (5 commits)")[![julescournut](https://avatars.githubusercontent.com/u/26310511?v=4)](https://github.com/julescournut "julescournut (2 commits)")[![NicolasBarbey](https://avatars.githubusercontent.com/u/26166378?v=4)](https://github.com/NicolasBarbey "NicolasBarbey (1 commits)")

---

Tags

metadatashortcodethelia

### Embed Badge

![Health badge](/badges/thelia-short-code-meta-module/health.svg)

```
[![Health](https://phpackages.com/badges/thelia-short-code-meta-module/health.svg)](https://phpackages.com/packages/thelia-short-code-meta-module)
```

PHPackages © 2026

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