@gladiatorflow:
This is, unfortunately, a hard-coded value. The “easiest” way to remove it is to replace line 756 from:
$content .= $timePrefix.sprintf(__("in %s", 'fergcorp_countdownTimer'), $this->fuzzyDate($thisEvent->getTimestamp(), time() ) )."</abbr>";
to:
$content .= $timePrefix.sprintf(__("in %s", 'fergcorp_countdownTimer'), $this->fuzzyDate($thisEvent->getTimestamp(), time() ) )."</abbr>";
I’m going to open up an issue for this to get this fixed in a future release: https://github.com/fergbrain/countdown-timer/issues/32
Im confused (maybe a little cross eyed too lol) isn’t the “from” line and the “to” line the same code?
@xsparky911x:
You are correct. The replacement line should have been:
$content .= $timePrefix.sprintf(__("%s", 'fergcorp_countdownTimer'), $this->fuzzyDate($thisEvent->getTimestamp(), time() ) )."</abbr>";
I’ve tried this before but it still has the word “in”. Is it coded anywhere else? I have even tried other browsers but the word “in” still shows up
change
“intime” => addslashes(__(‘in %s’, ‘fergcorp_countdownTimer’)),
to
“intime” => addslashes(__(‘%s’, ‘fergcorp_countdownTimer’)),
What page is this code found on? I cannot find it anywhere.
http;//ezfitmeals.com
Thanks,
Line 1079 of fergcorp_countdownTimer.php
I found this helpful too. Thank you.