Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Custom Meta

Security covered No further development 1,176 sites

This module allows you to define and manage custom meta tags for your website, including selecting the meta attribute and setting its value. It can inject these meta tags into non-admin content and supports token replacement for dynamic content.

While Nodewords (D6) and Metatags (D7) work well for adding things like Abstract, Description, Keywords, Robots, Copyright and even OpenGraph meta tags to your content, we continually found ourselves backed into a situation where we would have to release a tpl.php update or write a custom module to inject custom meta elements onto our platform.

A good example is the Smart App Banner from Apple. We received the info for early adoption but had to deploy code to implement it. After adding one too many contrib modules or writing one too many custom modules to add small or bulk custom meta tags to our system, we came up with the idea for custom meta.

The module allows you to define and manage custom meta tags. Select the Meta attribute (property, name, HTTP-equiv) and set the value and content value in the format, and the module will add your meta tags to all non-admin content for your site.

I'd be happy to iterate on this and add additional functionality. Leave a note in the issue queue if you have a feature request.

Token Support

As of 7.x-1.4, Custom Meta supports token replacement. Enable the token module and select "Browse available tokens" on the administration page.

Page filter

Current 7.x-dev branch includes code to filter which pages to include the tags.

Index of Custom Meta versions

Branch Core support Metatag support Status 8.x-1.x Drupal 8 8.x-1.x No longer supported 2.0.x Drupal 9 / 10 8.x-1.x No longer supported 2.1.x Drupal 9 / 10 2.0.x EOL Security fixes till November 7th, 2025
Drupal 9–11

Ask your assistant about Custom Meta

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Jul 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
2.1.1 Stable 9–11 Oct 1, 2024
2.1.0 Stable 9–10 Aug 13, 2023
2.1.x-dev Dev 9–11 Jul 7, 2023