Loading...
 
Skip to main content

History: PluginMetaTag

Preview of version: 8

Plugin Meta

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

Tiki Doc From Code error: metaplugin not found

Examples


Short syntax example:

Copy to clipboard
{meta content="http://your.site.tld/foo.jpg" name="twitter:image"}


Block syntax example:

Copy to clipboard
{META()} <meta content="http://your.site.tld/foo.jpg" name="twitter:image"> <meta content="http://your.site.tld/foo.jpg" property="og:image"> {META}

Limitations

  1. It only adds the tag(s) to the 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
  2. The plugin content must be approved, so it cannot be used for dynamic variables (unless all variants are approved)

Aliases

Meta Plugin | Plugin Meta

History

Information Version
Marc Laporte Use example.org as recommended by https://www.iana.org/domains/reserved 13
Bernard Sfez / Tiki Specialist 12
Bernard Sfez / Tiki Specialist Adding information for usage on Tiki24 11
luciash d' being 🧙 renamed 10
luciash d' being 🧙 9
luciash d' being 🧙 Version created by rescue script 2017-04-24T18:09:12+00:00 8
luciash d' being 🧙 Page created by rescue script 2017-04-24T18:09:12+00:00 7
Collapse/expand modules below