WordPress.org

Ready to get started?Download WordPress

Forums

Uji Countdown
Remove seconds (8 posts)

  1. ciwd
    Member
    Posted 1 year ago #

    On the free version, is there a way to remove the seconds from displaying?

    http://wordpress.org/extend/plugins/uji-countdown/

  2. ujimoto
    Member
    Plugin Author

    Posted 1 year ago #

    I will add this option on the next update. soon.

  3. allanmcbilly
    Member
    Posted 1 year ago #

    Hey mate, the option is indeed there but it doesn't seem to work :(

    Perhaps you are still working on it .. anyhow just thought of letting you know ;)

    thanks for this great plugin!

  4. jrowland
    Member
    Posted 1 year ago #

    You can change it by editing the "format" in the jquery.countdown.js file (inside the JS folder).

    Here's what you're looking for:

    format: 'dHMS'',

    That stands for Day - Hours - Minutes - Seconds. To remove the seconds just remove that "S."

  5. jrowland
    Member
    Posted 1 year ago #

    FYI - You can also add Years, Months and Weeks if you want by adding their code:

    Years = Y
    Months = O
    Weeks = W
    Days = D
    Hours = H
    Minutes = M
    Seconds = S

  6. enjoimark
    Member
    Posted 1 year ago #

    I removed the S under "format" and it totally breaks the countdown. Doesn't show up anymore.

  7. enjoimark
    Member
    Posted 1 year ago #

    Nevermind, turns out the text editor I was using was causing problems.

  8. ujimoto
    Member
    Plugin Author

    Posted 1 year ago #

    just add this line to your .css file:

    #uji_sec { display:none }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.