> ## Content Index
> Fetch the complete content index at: https://horrell.ca/llms.txt
> Use this file to discover other available public pages before exploring further.

# cwh_link_to_home
- URL: https://horrell.ca/2007/05/21/cwh_link_to_home/
- Published: 2007-05-21T20:43:41.000Z
- Updated: 2026-06-02T17:30:53.000Z
- Author: Christopher Horrell
- Tags: Textpattern

cwh\_link\_to\_home is a Textpattern plugin that provides replacement tag for `<txp:link_to_home />` that includes a new `format` attribute which provides the ability to set the link format as a `<link>` tag suitable for placing in the `<head>` of any page on your site. You can do this by setting the attribute `format` to *link*, like so:

```
<txp:cwh_link_to_home title="Home" format="link" />

```

which will produce something similar to:

```
<link rel="home" title="Home" href="http://yourdomain.tld/" />

```

This tag also shares all of the same attributes as `<txp:link_to_home />`. For a complete list of applicable attributes, see [this Textbook entry](http://textbook.textpattern.net/wiki/index.php?title=Txp:link%5Fto%5Fhome&ref=horrell.ca).

For a further explanation of the benefits of using `<link>` tags for your site's navigation, please see [Day 9: Providing additional navigation aids](http://diveintoaccessibility.org/day%5F9%5Fproviding%5Fadditional%5Fnavigation%5Faids.html?ref=horrell.ca)from Mark Pilgrim's [Dive Into Accessibility](http://diveintoaccessibility.org/?ref=horrell.ca).

You can download the plugin below:

[cwh\_link\_to\_home](https://github.com/chorrell/cwh%5Flink%5Fto%5Fhome/archive/v0.1.0.zip?ref=horrell.ca)