Photoblog keywords

From Photostand Wiki

Jump to: navigation, search
photoblog_keywords()

The photoblog_keywords function will return the keywords value that you defined when you installed PhotoStand or that you defined in the administration of your photoblog. It can be used in any file, at any time.

Its main function is to fill the <meta> tag for the keywords of the photoblog. See below for an example.

Parameters

This function has no parameters.

Examples

In the <meta> 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>
        <meta name="keywords" content="<?php echo photoblog_keywords(); ?>" />

    </head>
    <body>

        Content

    </body>
</html>

Here, your photoblog keywords will be generated in the <meta> tag, which is not visible to visitors but only to search engines.

Personal tools