Skip to:

Jump to last post

  • Matt


    I can figure it out with a little work, but I’m just wondering if anyone has written a hack to do this.

    The link would take you from forum.php to the last post in (any given) topic.php.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Pop this in a new .php file in your plugin directory.

    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:

    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 . '">&nbsp;&raquo;&nbsp;';

    return $title;

    did not work foe me :(




    I didn’t compare this to the one you posted a few months ago. But it still doesn’t work for me. Clicking the >> next to the thread just gets me to a page that does not show any posts. I have to click the “Go to last post” link on that page to get there.

    The link for >> is this, for example:

    The link for the actual last post is this:

    So it looks as though pages are messed up. I’ll try turning off every single plugin again and will report back with info.



    Ok, I switched back to Kakumei and turned off all plugins except this one. Works fine now.

    I’ll figure out which one is causing the problem and report it to the author, as well as here in this thread.



    I found the culprit: the Front Page Topics plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar