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 | EOL Security fixes till December 31st, 2023 |
2.1.x | Drupal 9 / 10 | 2.0.x | Actively maintained |
Project information
- Module categories: Search Engine Optimization (SEO), Integrations, Developer Tools
- 1,731 sites report using this module
- Created by hansyg on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Metatag 2 compatibility
Development version: 2.1.x-dev updated 13 Aug 2023 at 16:04 UTC