Connections Business Directory Local Time Plugin
An extension for Connections Business Directory which adds the ability to show the local time of a business or an individual based on their address.
Connections Business Directory Local Time extension is a remix of the fantastic jClocksGMT World Clocks plugin
that has been custom tailored for use with Connections Business Directory.
How does it work?
The local time zone is calculated from the latitude/longitude of either the first or preferred address from the entry in Connections Business Directory.
The latitude/longitude is then used to determine the time zone and the UTC offset in which the address is located using the Google Maps Time Zone API.
With that information determined automagically, a clock is displayed in the the theme’s sidebar showing the local time of the
current entry being viewed.
Features:
- Automagically determines time zone and UTC offset using the latitude/longitude of either the first or preferred address from the entry being viewed.
- Customizable widget.
- Analog clock with 5 skin variations.
- Digital clock with custom time formatting.
- Display the local date with custom date formatting.
Here are some other great free extensions (with more on the way) that enhance your experience with Connections Business Directory:
Utility
- Toolbar :: Provides quick links to the admin pages from the admin bar.
- Login :: Provides a simple to use login shortcode and widget.
Custom Fields
Misc
- Face Detect :: Applies face detection before cropping an image.
Installation
Complete installation instructions can be found here.
Using the WordPress Plugin Search
- Navigate to the
Add New
sub-page under the Plugins admin page. - Search for
connections business directory local time
. - The plugin should be listed first in the search results.
- Click the
Install Now
link. - Lastly click the
Activate Plugin
link to activate the plugin.
Uploading in WordPress Admin
- Download the plugin zip file and save it to your computer.
- Navigate to the
Add New
sub-page under the Plugins admin page. - Click the
Upload
link. - Select Connections Business Directory Local Time zip file from where you saved the zip file on your computer.
- Click the
Install Now
button. - Lastly click the
Activate Plugin
link to activate the plugin.
Using FTP
- Download the plugin zip file and save it to your computer.
- Extract the Connections Business Directory Local Time zip file.
- Create a new directory named
connections-local-time
directory in the ../wp-content/plugins/
directory. - Upload the files from the folder extracted in Step 2.
- Activate the plugin on the Plugins admin page.
FAQ
Changelog
1.2.1 05/04/2020
- TWEAK: Remove use of
create_function()
. - DEV: Correct code alignment.
- DEV: Update plugin header.
- DEV: Update README.txt plugin header.
1.2 09/14/2020
- TWEAK: Check for instance of
cnAddress
and cnTimezone
before attempting access to their properties. - OTHER: Update “Tested up to:” to version 5.5.
- OTHER: Bump “Requires at least: 5.0” to version 5.0.
1.1 07/21/2020
- TWEAK: Add CSS classes and styles for clearing float and hiding time zone.
- BUG: Fragment cache should use the Entry ID, not the User ID.
- BUG: Respect the show time zone setting option value.
- OTHER: Correct readme.txt URL/s.
- OTHER: Correct typos in readme.txt.
- OTHER: Update readme.txt URL/s to HTTPS.
- OTHER: Update copyright year.
- OTHER: Update readme.txt plugin header.
- OTHER: Update plugin header name to be consistent with other addons.
1.0 08/24/2017