16. Okt. 2010
von
Keine Kommentare
Re: Display excerpt of first and last post in front-page.php :: Reply by Joern
That was easier than expected!I used the condition:if ($post->post_id != $topic->topic_last_post_id )to display the excerpt of the answer only if is not the question itselfThe working code looks now like this:Code:<p class="quest"><?php $post = bb_get_first_post(get_topic_id());echo make_excerpt(get_post_text($post->post_id)); ?></p><?php if ($post->post_id !=…