Article text

From Photostand Wiki

Jump to: navigation, search
article_text()

The article_text function will return the current article content itself.

Parameters

This function has no parameters.

Examples

Displaying the 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>
            <h2><?php echo article_title(); ?></h2>
            <p>
                <?php echo article_text(); ?>
            </p>
        </div>

    </body>
</html>

Basicly, this example will display the article content.

Personal tools