이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

jClocksGMT World Clocks

설명

jClocksGMT is a jQuery analog and digital world clocks plugin based on GMT offsets.
Now supporting automatic daylight saving time conversions for affected timezones.
Requires jQuery Rotate plugin.

[jclocksgmt]

This shortcode will display the default clock for Greenwich, England

Additional attributes:

  • title
    • Usage [jclocksgmt title='Houston, TX, USA'] Title of location
  • offset
    • Usage [jclocksgmt offset='-6'] Set Standard GMT offset
  • dst
    • Usage [jclocksgmt dst='true] set FALSE if location does not need to observe dst
  • digital
    • Usage [jclocksgmt digital=true] Display digital clock
  • analog
    • Usage [jclocksgmt analog=true] Display analog clock
  • timeformat
    • Usage [jclocksgmt timeformat='hh:mm A'] Time format
  • date
    • Usage [jclocksgmt date=false] Display date
  • dateformat
    • Usage [jclocksgmt dateformat='MM/DD/YYYY'] Date format
  • skin
    • Usage [jclocksgmt skin=1] Set 1 of 5 clock themes.

A basic shortcode for a custom location would look like this:
[jclocksgmt title=’Houston, TX, USA’ offset=’-6′]

See more documentation in FAQ section.

스크린샷

  • Example of Clocks
  • Promotional Image

설치

  1. Upload the jclocksgmt-wp directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Activate the included widgets for display in your theme or use the following shortcodes:
  4. Put the shortcode [jclocksgmt] on any page to display the clock.

See more documentation in FAQ section.

FAQ

What are shortcodes?

A shortcode is a WordPress-specific code that lets you do nifty things with very little effort. Shortcodes can embed files or create objects that would normally require lots of complicated, ugly code in just one line. Shortcode = shortcut. To use a shortcode, simple enter it on the page or post in your WordPress blog as described below and it will be replaced on the live page with the additional functionality.

What shortcodes does jClocksGMT-WP use?

[jclocksgmt]
This shortcode will display the default clock for Greenwich, England

Additional attributes:

  • title
    • Usage [jclocksgmt title='Houston, TX, USA'] Title of location
  • offset
    • Usage [jclocksgmt offset='-6'] Set Standard GMT offset
  • dst
    • Usage [jclocksgmt dst='true] set FALSE if location does not need to observe dst
  • digital
    • Usage [jclocksgmt digital=true] Display digital clock
  • analog
    • Usage [jclocksgmt analog=true] Display analog clock
  • timeformat
    • Usage [jclocksgmt timeformat='hh:mm A'] Time format
  • date
    • Usage [jclocksgmt date=false] Display date
  • dateformat
    • Usage [jclocksgmt dateformat='MM/DD/YYYY'] Date format
  • skin
    • Usage [jclocksgmt skin=1] Set 1 of 5 clock themes.

A basic shortcode for a custom location would look like this:
[jclocksgmt title=’Houston, TX, USA’ offset=’-6′]

What are GMT offsets?

GMT offsets are the hour differences from one location compared to Greenwich Mean Time in Greenwich, London.

Common offsets by time zone:
(only use the number after GMT: GMT-2 = offset: ‘-2’ Daylight Saving Time converted automatically)

  • GMT-12 | Eniwetok
  • GMT-11 | Samoa
  • GMT-10 | Hawaii
  • GMT-9 | Alaska
  • GMT-8 | PST, Pacific US
  • GMT-7 | MST, Mountain US
  • GMT-6 | CST, Central US
  • GMT-5 | EST, Eastern US
  • GMT-4 | Atlantic, Canada
  • GMT-3 | Brazilia, Buenos Aries
  • GMT-2 | Mid-Atlantic
  • GMT-1 | Cape Verdes
  • GMT 0 | Greenwich Mean Time
  • GMT+1 | Berlin, Rome
  • GMT+2 | Israel, Cairo
  • GMT+3 | Moscow, Kuwait
  • GMT+7 | Abu Dhabi, Muscat
  • GMT+5 | Islamabad, Karachi
  • GMT+6 | Almaty, Dhaka
  • GMT+7 | Bangkok, Jakarta
  • GMT+8 | Hong Kong, Beijing
  • GMT+9 | Tokyo, Osaka
  • GMT+10 | Sydney, Melbourne, Guam
  • GMT+11 | Magadan, Soloman Is.
  • GMT+12 | Fiji, Wellington, Auckland
What are the rules for formatting date and time?
Time Formatting:

FORMAT| OUTPUT | MEANING

  • HH | 19 | 24-hour format of hour with leading zero (two digits long).
  • hh | 07 | 12-hour format of hour with leading zero (two digits long).
  • H | 19 | 24-hour format of hour without leading zeros.
  • h | 7 | 12-hour format of hour without leading zeros.
  • mm | 01 | Minutes with the leading zero (two digits long).
  • m | 1 | Minutes without the leading zero.
  • ss | 08 | Seconds with the leading zero (two digits long).
  • s | 8 | Seconds without the leading zero.
  • a | pm | Lowercase am or pm.
  • A | PM | Uppercase am or pm.
  • SSS | 095 | Milliseconds with leading zeros (three digits long).
  • S | 95 | Milliseconds without leading zeros.
Date Formatting:

FORMAT| OUTPUT | MEANING

  • YYYY | 2016 | Four-digit representation of the year.
  • YY | 16 | Two-digit representation of the year.
  • MMMM | April | Full textual representation of the month.
  • MMM | Apr | Three letter representation of the month.
  • MM | 04 | Month with the leading zero (two digits long).
  • M | 4 | Month without the leading zero.
  • DDDD | Friday | Full textual representation of the day of the week.
  • DDD | Fri | Three letter representation of the day of the week.
  • DD | 01 | Day of the month with leading zero (two digits long).
  • D | 1 | Day of the month without leading zero.

후기

80

2018년 11월 8일
Arkadaşlar çalışıyor kısa kodları kullanmayı biliyorsanız rahatlıkla kullanabilirsiniz. Daha güzel olabilir lakin işinizi rahat rahat görür.
2018년 2월 17일
add some simple example of shortcode… but I have tried all possible variations it is not working
모든 3 평가 읽기

기여자 & 개발자

“jClocksGMT World Clocks”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “jClocksGMT World Clocks”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.0.2

  • Compatible with WordPress 4.5.2

1.0.1

  • Fixed image path error

1.0

  • Initial release