• Can I remove the word “in” so that only the countdown timer is displayed? (instead of, “in xx days xx hours xx minutes xx seconds”)

Viewing 3 replies - 1 through 3 (of 3 total)
  • currently it’s hard coded in, so no. unless you feel comfortable modifying php.

    Note: I am on vacation until August.

    Thread Starter jockoe

    (@jockoe)

    Thanks for the reply. I’ll make a backup and see if I can edit the PHP file without screwing it up.

    Find this line in the language variable section:
    echo "fergcorp_countdownTimer_js_language['in'] = '".addslashes(__('in %s', 'afdn_countdownTimer'))."';\n";

    And replace it with:
    echo "fergcorp_countdownTimer_js_language['in'] = '".addslashes(__('%s', 'afdn_countdownTimer'))."';\n";

    The only change is going from ‘in %s’ to ‘%s’

    That successfully removed the word in from the output of the timer.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Countdown Timer] Remove the word “in”’ is closed to new replies.