Re: Jump to last post
Pop this in a new .php file in your plugin directory.
<?php
/*
Plugin Name: Page »
Plugin URI:
Description: Adds » 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> <a href="' . $felgtlpl . '"> » ';
return $title;
}
?>