Thanks Vincent.
@Acrylian: printNewsBreadcrumb is not listed as deprecated. printNewsTitle is not a replacement as they do very different things. printNewsBreadcrumb (pasted below) prints "Archive" in the breadcrumb when applicable, or "News" or custom name for News. I think this function or a version there of is very much needed. I am wondering if it was removed by mistake (since not listed in deprecated file). PrintNewsTitle prints the title of a single news item, very different.
`
/**
* Prints the full link of the news index page (news page 1)
*
* @param string $name The linktext
* @param string $before The text to appear before the link text
*/
function printNewsBreadcrumb($name = NULL, $before = '', $archive = NULL) {
global $_zp_post_date;
if ($_zp_post_date) {
if (is_null($archive)) {
$name = '[i]' . gettext('Archive') . '[/i]';
} else {
$name = strip_tags(html_encode($archive));
}
$link = zp_apply_filter('getLink', rewrite_path(_ARCHIVE_ . '/', "/index.php?p=archive"), 'archive.php', NULL);
} else {
if (is_null($name)) {
$name = gettext('News');
} else {
$name = strip_tags(html_encode($name));
}
$link = getNewsIndexURL();
}
if ($before) {
echo '' . html_encode($before) . '';
}
echo "<a href=\"" . html_encode($link) . "\" title=\"" . strip_tags($name) . "\">" . $name . "</a>";
}
`