Skip to:
Content
Pages
Categories
Search
Top
Bottom

Add New Post Link

  • Figured I’d throw this out there… I made a tiny function to generate a “reply” link anywhere in the topic. I’m using it in the post meta area to let the user quickly go to the post reply box.

    function geek_post_reply_link(){
    global $topic;
    echo '<a href="'.get_topic_link($topic->topic_id,get_page_number( $topic->topic_posts )) . "#postform".'">Reply</a>';
    }

    I couldn’t find anything else similar, so I thought I’d share.

Viewing 1 replies (of 1 total)

  • thierryyyyyyy
    Participant

    @thierryyyyyyy

    Can you do a function to create a link to the last page of a topic ?

    I would like to add for each topic line in the frontpage a link called “last page”.

    Thank you

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