if ($post['postcount'] == 2) { $add = '<br /><br /><div style="color:green">This is added text</div>'; $post['signature'] .= $add; }
For the first post, instead of using what I originally posted, just use:
PHP Code:
if ($post['postcount'] == 1) { $add = '<br /><br /><div style="color:green">This is added text</div>'; $post['signature'] .= $add; }
edit: You likely do not want the two line breaks if the author of the post to which the text is added does not have a signature being shown, so change the code to:
PHP Code:
if ($post['postcount'] == X) { $add = '<div style="color:green">This is added text</div>';