Article next

From Photostand Wiki

Jump to: navigation, search
article_next()

The article_next function will return the exact path to the following (more recent) article even if the Url Rewriting function is activated. This will only return the reference value, not the complete HTML tag.

Parameters

This function has no parameters.

Examples

Adding a link to the next article

<!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>Article</title>

    </head>
    <body>

        <div>
            <a href="<?php echo article_next(); ?>">Next article</a>
        </div>

    </body>
</html>

Here, a simple HTML link pointing toward the next article will appear.

Personal tools