Wiki source for TitleTagActionInfo


Show raw source

=====Titletag Action Documentation=====
This is the documentation page for the ##titletag## action.

<<Note: You will need to remove any existing ##<title>...</title>## tags in
your ##header.php## files (located under the ##templates/## directory).
Otherwise, you will have multiple ##<title>## tags in your HTML output, which
is not in compliance with the HTML recommendations.<<::c::

===Documentation===
{{since version="1.3.7" align="left"}}

==Short description==
Renders an HTML title tag in the page output header.

==Usage:==
##""{{titletag string="My page title with important keywords"}}""##

|?|Parameters||
|[|
|=|name|=|type|=|required?|=|default|=|description||
|#|
|=|string||string||mandatory||-||value of the string enclosed by the title tag||

==Long description==
With the ##""{{titletag}}""## action you can generate a custom HTML title tag that will appear in the page output header. Please note that you will have to remove any instances of ##<title>...</title>## tags in your ##header.php## files, as multiple ##<title>## tags are not permissible under the HTML recommendations. Also, there is no protection against invoking ##""{{titletag}}""## more than once. Position of the title tag within the head of the document is not guaranteed or predictable (but shouldn't matter).

==Examples:==
##""{{titletag string="My Title"}}""##

produces the following output:

%%(html)
<head>
...
<title>MyTitle</title>
...
</head>
%%

==Release Notes==
- {{since version="1.3.7" display="inline"}} Introduction

==Authors==
- [[http://wikkawiki.org/BrianKoontz | Brian Koontz]]

----
CategoryEN
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki