Shortcode: [rsgdxtzd]
A simple and lightweight WordPress plugin that lets you display and compare the current time between two (2) different time zones using a customizable shortcode. Perfect for showcasing time differences for teams, events, or global audiences.
Shortcode Parameters:
- class: any string you want to use as a class name of the container.
- Default container class is rsgdxtzd-time-display.
- Sample usage: rsgdxtzd class=myclassname
- time1: the first time zone what will be displayed. this is displayed at the left part of the screen or top part for mobile devices.
- Default time1 is set to ph.
- Sample usage: rsgdxtzd time1=ph
- time2: the second time zone what will be displayed. this is displayed at the right part of the screen or bottom part for mobile devices.
- Default time2 is set to au.
- Sample usage: rsgdxtzd time2=au
- Parameters can be combined:
- rsgdxtzd time1=ny time2=au class=myrandomClassName
URL Parameters:
- time1: the first time zone what will be displayed. this is displayed at the left part of the screen or top part for mobile devices.
- By default, the time1 is set to ph.
- Sample usage: /?time1=ph
- time2: the second time zone what will be displayed. this is displayed at the right part of the screen or bottom part for mobile devices.
- By default, the time2 is set to au.
- /?time2=ny
- Parameters can be combined:
- /?time1=ph&time2=ny
Available Time Zones:
- akl: Auckland
- ams: Amsterdam
- ath: Athens
- au: Australia
- ber: Berlin
- bkk: Bangkok
- bru: Brussels
- bue: Buenos Aires
- cai: Cairo
- chi: Chicago
- cph: Copenhagen
- del: Delhi
- dub: Dubai
- hel: Helsinki
- hk: Hong Kong
- hon: Honolulu
- ist: Istanbul
- jhb: Johannesburg
- jkt: Jakarta
- kl: Kuala Lumpur
- krk: Krakow
- la: Los Angeles
- lis: Lisbon
- lon: London
- mad: Madrid
- mex: Mexico City
- mil: Milan
- mos: Moscow
- mum: Mumbai
- ny: New York
- osl: Oslo
- par: Paris
- ph: Philippines
- prg: Prague
- rey: Reykjavik
- rio: Rio de Janeiro
- scl: Santiago
- sf: San Francisco
- sg: Singapore
- sto: Stockholm
- su: Suva
- tok: Tokyo
- tor: Toronto
- van: Vancouver
- vie: Vienna
- wel: Wellington
- zur: Zurich
Pingback: RSGDX Time Zone Display: Sample Display – RSG DevAxis