Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: current bbpress support forum template – time for update?

I wrote a plugin to do that. Just upload and activate this.

<?php
/*
Plugin Name: Page &raquo;
Plugin URI:
Description: Adds &raquo; to the end of topic titles, linking to latest post.
Author: fel64
Version: 0.7
Author URI: http://www.loinhead.net/
*/

if (!function_exists('is_tags')) {
function is_tags()
{
return is_tag();
}
}

if (is_front() || is_forum() || is_tags()) {
add_filter('topic_title', 'fel_addlatestlink', 101);
}

function fel_addlatestlink($title)
{
global $topic;
$felgtlpl = get_topic_last_post_link($topic->topic_id);
$title = $title . ' <a href="' . $felgtlpl . '">&nbsp;&raquo;&nbsp;</a>';

return $title;
}
?>

Skip to toolbar