Reply-Post-Date needs a space after the word On
-
On our site, bbp-reply-post-date needs a space, after the word On.
User OnJanuary 20, 2021 at 9:29 #6329How can I add a space after “On”, before the month, or delete the word “On”?
-
it looks like your theme or another plugin is heavily altering the display – what theme are you using ?
Hey Robin,
Theme is Publisherhttps://community.betterstudio.com/publisher-doc/publisher-introduction/
ok, I’d start by logging a ticket with them and see what they come back with
I’m digging through php and can’t locate where the word “On” gets inserted.
bbpress/includes/replies/template/php
lines 660-680
function bbp_get_reply_post_date( $reply_id = 0, $humanize = false, $gmt = false ) { $reply_id = bbp_get_reply_id( $reply_id ); // 4 days, 4 hours ago if ( ! empty( $humanize ) ) { $gmt_s = ! empty( $gmt ) ? 'G' : 'U'; $date = get_post_time( $gmt_s, $gmt, $reply_id ); $time = false; // For filter below $result = bbp_get_time_since( $date ); // August 4, 2012 at 2:37 pm } else { $date = get_post_time( get_option( 'date_format' ), $gmt, $reply_id, true ); $time = get_post_time( get_option( 'time_format' ), $gmt, $reply_id, true ); $result = sprintf( _x( '%1$s at %2$s', 'date at time', 'bbpress' ), $date, $time ); } // Filter & return return apply_filters( 'bbp_get_reply_post_date', $result, $reply_id, $humanize, $gmt, $date, $time ); }
Robin,
Doubtful they’d have a response. Is the ‘On’ atypical to normal bbPress installs?
If so, I can start looking at the theme instead of bbP.-e
I suspect it is in an amended version in your theme
so look in the theme for a folder called bbpress – their amended version should be in there
Thank you Robin.
Cheers
🙂-e
At least they address it.
https://community.betterstudio.com/publisher-doc/forum-options/Thanks for your help, Robin.
Issue resolved.
The theme, Publisher, has a function buried in their visual editor, called ‘Theme Translations’, which let me change the “On” to “on ” (space).
Great – thanks, and thanks for posting the solution, this might help others finding this thread 🙂
- You must be logged in to reply to this topic.