go41

musterschreiben


von Joern
Keine Kommentare

I think you added in your single file<p>This post was written by <?php the_author(); ?></p>Sorry, told you wrong, to get a link you must use in the same place:<p>Written by:<?php the_author_link(); ?></p>clicking on this 'author' link you come to a page 'Archive by Author'This page is actually archive.php in your…


von Joern
Keine Kommentare

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 != $topic->topic_last_post_id ) { ?><p class="ans"><?php echo make_excerpt( get_post_text( $topic->topic_last_post_id )…