backdrop-contrib / metatag

Add structured metadata, aka "meta tags", for various pages on your site.
GNU General Public License v2.0
3 stars 15 forks source link

Metatag

Provide structured metadata, aka "meta tags", for pages on your site.

In the context of search engine optimization, providing an extensive set of meta tags may help improve your search ranking. A better search ranking will result in a more prominent display of your content within search results. Additionally, meta tags can be used to control the display of content as it is shared across social networks. The Open Graph submodule in particular, will help with Facebook, Pinterest, LinkedIn, etc (see below).

Installation

Documentation

Additional documentation is located in the Wiki: https://github.com/backdrop-contrib/metatag/wiki

Issues

Bugs and Feature requests should be reported in the Issue Queue: https://github.com/backdrop-contrib/metatag/issues

API

Full API documentation is available in metatag.api.php.

It is not necessary to control Metatag via the entity API, any entity that has view modes defined and is not a configuration entity is automatically suitable for use.

The meta tags for a given entity object (node, etc) can be obtained as follows: $metatags = metatags_get_entity_metatags($entity_id, $entity_type, $langcode); The result will be a nested array of meta tag structures ready for either output via backdrop_render(), or examining to identify the actual text values.

Current Maintainers

Credits

License

This project is GPL v2 software. See the LICENSE.txt file in this directory for complete text.