Article title

From Photostand Wiki

Jump to: navigation, search
article_title()

The article_title function will return the current article title.

Parameters

This function has no parameters.

Examples

Displaying the article title

<!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>
        </div>

    </body>
</html>

Basicly, this example will display the article title between <h2> and </h2> tags.

Personal tools