Great stuff, I'll report back, and thanks!
bbPress Plugin Browser »
Related Topics (0.0.5)
Download
Version: 0.0.5
Last Updated: 2009-9-3
Requires bbPress Version: 0.9 or higher
Compatible up to: 0.9
Average Rating





Your Rating
Author: _ck_
-
Posted: 2 years ago #
-
Works a charm! Two more questions,
1) How can I give '<h2>Related Topics</h2>' a h2 class="X"?
2) Is there a way to display nothing, when no related posts are found? So the whole div will be hidden?Cheers _ck_
Posted: 2 years ago # -
1) you must change de css file.
Posted: 2 years ago # -
To have Nicer Permalinks plugin (http://bbpress.org/plugins/topic/nicer-permalinks/) working together with Related Topics you should add
if ( true === (bool) nicer_permalinks_enabled() ) $link=get_topic_nicer_link($link);
after
foreach ($topics as $topic) {
if ( $rewrite ) {
$link = $bb_uri . "topic/" . $topic->$column;
Posted: 9 months ago # -
First solution broke javascript:
if (!isset($_GET['related-topics'])) {if ( true === (bool) nicer_permalinks_enabled() ) $link=get_topic_nicer_link($link);}
Posted: 9 months ago #
Add a Comment
You must log in to post.