Archives article title
From Photostand Wiki
archives_article_title()
The archives_article_title function will display the article title associated to the current thumbnail in the archives.
[edit]
Parameters
This function has no parameters.
[edit]
Examples
In the archives.php page
Article title as the Alt attribute
<!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>Archives</title>
</head>
<body>
<p>
<?php
foreach(archives_array(50) as $article)
{
?>
<img src="<?php echo archives_thumbnail(); ?>" class="thumbnail" alt="<?php echo archives_article_title(); ?>" />
<?php
}
?>
</p>
</body>
</html>
Here, the current article title will be displayed as the image Alt attribute which may be usefull for search engines.

