Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: I can't get my forum to functon at all.

@robin-w

Moderator

for no. 1, add this code to your functions file

//display last topic title in freshness for forums
function display_title ($anchor, $forum_id, $time_since, $link_url, $title, $active_id ) {
$anchor = '<ul><li><a href="' . esc_url( $link_url ) . '" title="' . esc_attr( $title ) . '">' . esc_html( $title) . '</a></li></ul><a href="' . esc_url( $link_url ) . '" title="' . esc_attr( $title ) . '">' . esc_html( $time_since ) . '</a>';
return $anchor ;
}
add_filter ('bbp_get_forum_freshness_link', 'display_title', 10, 6 );

Having coded it, I like the way it displays, and will be adding to the forums on one of the sites I support – one of the reasons I support this forum is that I learn and get ideas from others 🙂

Skip to toolbar