Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author fergbrain

    (@fergbrain)

    @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?

    Plugin Author fergbrain

    (@fergbrain)

    @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,

    Plugin Author fergbrain

    (@fergbrain)

    Line 1079 of fergcorp_countdownTimer.php

    dallanlee

    (@dallanlee)

    I found this helpful too. Thank you.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Remove "in" pre-text before countdown?’ is closed to new replies.