go41

the info you need to know


von Joern
Keine Kommentare

in the index.php you gave me above, I can see pagination is only working if you use a plugin:<div id="navigation"><?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?></div>this one: http://wordpress.org/extend/plugins/wp-pagenavi/maybe it's already there and you disabled it?in Arthemia free the code is looking for the plugin ( if(function_exists('wp_pagenavi' )) and if not (…


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 )…