Go to main content

Link to home

Contents

Syntax

<txp:link_to_home>

The link_to_home tag is primarily a container tag that returns a link to the site’s home page. It will apply a hyperlink to whatever it wraps.

The tag can, however, be used as a single tag to generate a raw base URL of the site:

<txp:link_to_home />

In this mode it operates identically to site_url.

Attributes

This tag has no attributes of its own. It accepts only the global attributes .

Examples

<txp:link_to_home>
    <txp:site_name />
</txp:link_to_home>

Other tags used: site_name.

If you notice any kind of problem with this page's construction or content (outdated information, typos, broken links, or whatever), open an issue to have it sorted. Or have a go at it yourself. :)