Download the PHP package wkse/metatag without Composer
On this page you can find all versions of the php package wkse/metatag. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package metatag
Short Description Manage meta tags for all entities.
License GPL-2.0+
Homepage https://www.drupal.org/project/metatag
Informations about the package metatag
Metatag
This module allows you to automatically provide structured metadata, aka "meta tags", about your website and web pages.
In the context of search engine optimization, providing an extensive set of meta tags may help improve your site's & pages' ranking, thus may aid with achieving a more prominent display of your content within search engine results. Additionally, using meta tags can help control the summary content that is used within social networks when visitors link to your site, particularly the Open Graph submodule for use with Facebook, Pinterest, LinkedIn, etc (see below).
This version of the module only works with the v8.0.x releases of Drupal.
Features
The primary features include:
-
An administration interface to manage default meta tags.
-
Use of standard fields for entity support, allowing for meta tag translations and revisioning.
-
A large volume of meta tags available, covering X basic tags, Y Open Graph tags, Z Twitter Cards tags, Å Dublin Core tags, ∫ Google+ tags, ç App Links tags, ∂ site verification tags.
-
A plugin interface allowing for additional meta tags to be easily added via custom modules.
- Integration with DrupalConsole [1] to provide a quick method of generating new meta tags.
Standard usage scenario
- Install the module.
- Open admin/config/search/metatag.
- Adjust global and entity defaults. Fill in reasonable default values for any of the meta tags that need to be customized. Tokens may be used to automatically assign values. If the Token module is enabled there will be a "Browse available tokens" link that opens a popup to list & insert the available tokens.
- You can add bundle defaults by clicking on "Add metatag defaults" and filling out the form.
-
If you want to adjust metatags for a specific entity, then you need to add the Metatag field. Follow these steps:
5.1 Go to the "Manage fields" of the bundle where you want the metatag field to appear. 5.2 Select "Meta tags" from the "Add a new field" selector. 5.3 Fill in a label for the field, e.g. "Meta tags", and set an appropiate machine name, e.g. "meta_tags". 5.4 Click the "Save and continue" button. 5.5 If the site supports multiple languages, and translations have been enabled for this entity, select "Users may translate this field" to use Drupal's translation system.
DrupalConsole integration
Using the DrupalConsole, it is possible to generate new meta tags, either for use in new custom modules that require custom meta tags, or to create patches for extending Metatag's options.
To generate a new tag, install DrupalConsole and then use the following command:
drupal generate:metatag:tag
This will guide the site builder through the necessary steps to create a new meta tag plugin and add it to a module.
Related modules
Some modules are available that extend Metatag with additional functionality:
- Token https://www.drupal.org/project/token Provides a popup browser to see the available tokens for use in meta tag fields.
Credits / contact
Currently maintained by Damien McKenna [2] and Dave Reid [3]. Drupal 7 module originally written by Dave Reid. Drupal 8 port by Damien McKenna and Michelle Cox [4], and sponsored by Mediacurrent [5], with contributions from Lee Rowlands [6], Rakesh James [7] and many others.
Ongoing development is sponsored by Mediacurrent and Palantir.net [8].
The best way to contact the authors is to submit an issue, be it a support request, a feature request or a bug report, in the project issue queue: http://drupal.org/project/issues/metatag
References
1: https://www.drupal.org/project/console 2: https://www.drupal.org/u/damienmckenna 3: https://www.drupal.org/u/dave-reid 4: https://www.drupal.org/u/michelle 5: http://www.mediacurrent.com/ 6: https://www.drupal.org/u/larowlan 7: https://www.drupal.org/u/rakesh.gectcr 8: http://www.palantir.net/