Light-weight, fast, simple and powerful!
Translations of this page?:

Display a Page Link

Use the link() function to produce the title of the current page wrapped in HTML hyperlink tags.1) For example, in an out-of-the-box Wolf install, for the “About Us” page, this code:

<?php echo $this->link(); ?>


<a href="">About us</a>

For more about forming links, see the link() function; for providing links to pages other than the current page, see the find() function.

1) Consult the documentation on $this-> to find out what the “current” page is in different situations.
howto/display_a_page_link.txt · Last modified: 2011-09-12 00:46 (external edit)
Except where otherwise noted, content on this wiki is licensed under the following license:GNU Free Documentation License 1.2
Copyright 2010 / design by yello studio / Wolf CMS Inside