Link archives

From Photostand Wiki

Jump to: navigation, search
link_archives()

The link_archives function will return the reference value of a link pointing toward the archives page. It can be used in any page, at any time. This function will always display the exact page path, so there's no need to add the Photoblog_path function before.

Parameters

This function has no parameters.

Examples

In a normal paragraph

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>

	<title>My photoblog</title>

    </head>
    <body>

        <p>To browse through all my photographs, take a look at the <a href="<?php echo link_archives(); ?>">archives</a>.</p>

    </body>
</html>

Here, the link to the archives will simply appear as normal text directly in the page.

Personal tools