WordPress.org

Ready to get started?Download WordPress

Forums

Countdown Timer
[resolved] - How do I get rid of the "ago" word at the end (2 posts)

  1. scherer326
    Member
    Posted 3 years ago #

    I have this plugin working great in the sidebar, but want to get rid of the word "ago" at the end. Can someone please assist and tell where to go exactly and what to do to get rid of this. Thanks,

  2. scherer326
    Member
    Posted 3 years ago #

    I figured it out from reading a prior forum post. Needed to change something in the php file

    original:
    echo "fergcorp_countdownTimer_js_language['ago'] = '".addslashes(__('%sago', 'fergcorp_countdownTimer'))."';\n";

    updated:
    echo "fergcorp_countdownTimer_js_language['ago'] = '".addslashes(__('%', 'fergcorp_countdownTimer'))."';\n";

    now it works perfectly. I wanted to do this because I am using the timer to show my daughter's age, i.e. count up...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic