Loading...
 
Skip to main content

History: PluginMeta

Source of version: 7

Copy to clipboard
            {REMARKSBOX(type="warning" title="Deprecated")}Check the ((PluginMetaTag|Plugin MetaTag))and use instead.{REMARKSBOX}

! Plugin Meta

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.

{maketoc title="" levels="2,3"}

!!Parameters
{pluginmanager plugin="meta"}

!!Examples

Short syntax example:
{CODE(colors="tiki")}{meta content="http://your.site.tld/foo.jpg" name="twitter:image"}{CODE}

Block syntax example:
{CODE(colors="htmlmixed")}
{META()}
<meta content="http://your.site.tld/foo.jpg" name="twitter:image">
<meta content="http://your.site.tld/foo.jpg" property="og:image">
{META}
{CODE}

!!Limitations
#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
#The plugin content must be approved, so it cannot be used for dynamic variables (unless all variants are approved)

!!Related pages
* ((PluginMetaTag))

        

History

Information Version
Bernard Sfez / Tiki Specialist 9
Bernard Sfez / Tiki Specialist 8
Bernard Sfez / Tiki Specialist This is not working (has it ever worked ?) and the plugin meta tag should be used instead 7
Xavier de Pedro Edit restored by rescue script 2017-04-24T18:09:12+00:00 6
luciash d' being 🧙 Edit restored by rescue script 2017-04-24T18:09:12+00:00 5
luciash d' being 🧙 Edit restored by rescue script 2017-04-24T18:09:12+00:00 4
luciash d' being 🧙 Edit restored by rescue script 2017-04-24T18:09:12+00:00 3
luciash d' being 🧙 Edit restored by rescue script 2017-04-24T18:09:12+00:00 2
luciash d' being 🧙 Page created by rescue script 2017-04-24T18:09:12+00:00 1