Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Getting forum page number


SerpentGuard1701
Member

@serpentguard1701

Well, I found this function that’s used by the rss.php file:

function get_post_link( $post_id = 0 ) {
$bb_post = bb_get_post( get_post_id( $post_id ) );
$page = get_page_number( $bb_post->post_position );

return apply_filters( 'get_post_link', get_topic_link( $bb_post->topic_id, $page ) . "#post-$bb_post->post_id", $bb_post->post_id );
}

Is there a forum version fo the italicized portion of this function?

Skip to toolbar