Did you find the answer to this question?
It worked. Thanks. How were you able to make your mobile website look so great? This is a link to my mobile site . I would like to do the same exact thing which is:
• Have the forum take the whole width of the phone
• Remove image of person who posts a topic
• Remove # of voices per topic
• Remove name of person who made the last post
Thanks for your help.
I have multiple functions.php files in different folders of the bbpress plugin. Which of the below functions.php files should I add the code to?
• …/bbpress/includes/users/functions.php
• …/bbpress/includes/replies/functions.php
• …/bbpress/includes/extened/buddypress/functions.php
• …/bbpress/includes/forums/functions.php
• …/bbpress/includes/core/functions.php
• …/%theme name%/functions.php
Thanks,
Majid
@koendb
Which bbpress file should I add the below filter to to get that feature? Thanks.
function short_freshness_time( $output) {
$output = preg_replace( '/, .*[^ago]/', ' ', $output );
return $output;
}
add_filter( 'bbp_get_time_since', 'short_freshness_time' );
add_filter('bp_core_time_since', 'short_freshness_time');