Support » Plugin: EZP Coming Soon Page » It´s very cool

  • 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.

Viewing 1 replies (of 1 total)
  • Plugin Author Bob Riley

    (@bobriley)

    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.

Viewing 1 replies (of 1 total)
  • The topic ‘It´s very cool’ is closed to new replies.