Photoblog title

From Photostand Wiki

Jump to: navigation, search
photoblog_title()

The photoblog_title function will return the photoblog title value. It can be used in any file, at any time.

Parameters

This function has no parameters.

Examples

In the title bar

<!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><?php echo photoblog_title(); ?></title>

    </head>
    <body>

        Content

    </body>
</html>

Here, your photoblog title will simply appear in the Web browser title bar.


In an <h1> tag

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

        <h1><?php echo photoblog_title(); ?></h1>

    </body>
</html>

Here, your photoblog title will simply appear as a headline(1st level) directly in the page.

Personal tools