Plugin / Blog Time

Scott Reilly

Frequently Asked Questions (FAQ)

The widget and template tag allow you specify a time format directly. The default value for the time format, and the one used by the display of the blog time in the static admin widget, can be overridden by adding a filter to ‘c2c_blog_time_format’ and returning the desired time format. See https://php.net/date for more information regarding the time format.
The widget’s “Use dynamic clock?” configuration setting may not be checked (which it is by default).
Your machine may well be synced with the server’s clock. One test you can perform is to change the blog’s time zone (under Settings -> General). The blog’s time will then be set to a different hour, which should then be reflected by the widget.
See the Filters section for the c2c_blog_time_active_clock filter, which includes an example line of code you’ll need to add to your theme.
You could do something like this: /* Insert the following code in the active theme's functions.php or, even better, in a site-specific plugin. */ // Disable dynamic clock since a clock is not being displayed. add_filter( 'c2c_blog_time_active_clock', '__return_false' ); // Change the datetime format string used by the plugin. add_filter( 'c2c_blog_time_format', 'my_blog_time_format' ); /** * Returns a custom datetime format string for default use * by the Blog Time plugin. * * See https://php.net/date for more information regarding the time format. * * @param string $format Original format string (ignored) * @return string New format string */ function my_blog_time_format( $format ) { return 'M d, Y'; }

Ratings

3.4
7 reviews

Rating breakdown

Details Information

Version

3.6

First Released

28 May, 2009

Total Downloads

15,099

Wordpress Version

4.6 or higher

Tested up to:

5.1.3

Require PHP Version:

-

Tags

Contributors

Languages

The plugin hasn't been transalated in any language other than English.

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.