Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: The Forum Topic’s Second Post’s Position


r-a-y
Keymaster

@r-a-y

There’s no such function.

You could try something like this in your theme’s functions.php:

`
function my_not_first_post() {
global $topic_template;

$current_page = $topic_template->pag_page – 1;
$post_position = $current_page * $topic_template->pag_num + $topic_template->current_post;
if ( 0 != $post_position ) {
// do your business here… eg.
echo ‘Re: ‘;
}

}
`

Then you can shove this function in topic.php:

Disclaimer: Untested.

Skip to toolbar