Introduced in Tiki17
Use this wiki plugin to be able to insert one or more custom meta tags in the HTML head
of the page where the plugin is present.
Useful when you want to provide custom meta tags per page, e.g. for sharing with specific image on Social Networks.
As the body (data) of the plugin is taken as raw html it always requires plugin approval by trusted site Admin/Editor on each edit.
Parameters | Accepted Values | Description | Default | Since |
---|---|---|---|---|
(body of plugin) | Meta tags attributes for the HTML head where each meta goes on one line and name of the meta tag and the content is separated by a pipe (| ) character. Or just copy paste the raw HTML tags here. |
|||
content |
url | Content attribute of the meta tag | 17.0 | |
name |
text | Name attribute of the meta tag | 17.0 |
Short syntax example:
{metatag content="http://example.org/foo.jpg" name="twitter:image"}
Block syntax example:
{METATAG()} <meta content="http://example.org/foo.jpg" name="twitter:image"> <meta content="http://example.org/foo.jpg" property="og:image"> {METATAG}
head
, it does not replace them, so if the same meta name tag is added, it will be twice there and first one takes the precedence
head
) and a second meta tag "description" using this time the content from the plugin Meta Tag will be added. (tested on Tiki24)
Meta Plugin | Plugin Meta | PluginMeta | PluginMetaTags