WordPress.org

Ready to get started?Download WordPress

Forums

Coming Soon Page
It´s very cool (2 posts)

5 stars
  1. pasetti
    Member
    Posted 2 months ago #

    The only problem is that it is not possible to translate days, hours, etc.. the countdown. Who knows, some day, this can be fix.Or you could give me a hint how to do it.

  2. Bob Riley
    Member
    Plugin Author

    Posted 2 months ago #

    Hi pasetti, thanks for the great rating.

    Right now there isn't an 'official way to change language of those although there is a fairly simple method as follows:

    Go into a file editor from your host and go into the \wp-config\plugins\easy-pie-coming-soon\mini-themes\base-responsive\js directory.

    In there is a file called custom.js If you open it you'll see the following text which includes all the days, hrs, min, etc in it:

    $('#countdown').countdown(clockEndDate, function(event) {

    var $this = $(this).html(event.strftime(''

    + '<div id="countdown-days" >%D <span>Days</span></div> '
    + '<div id="countdown-hours" >%H <span>Hrs</span></div> '
    + '<div id="countdown-minutes" >%M <span>Min</span></div> '
    + '<div id="countdown-seconds" >%S <span>Sec</span></div> '));
    });

    Just change the bolded text to the language of your choice and save and that should work for you.

    If you go this route please be sure to change it again after you update the plugin in the future because on the next upgrade that file will be wiped out and a 'fresh' one will be put in there.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.