WordPress OSINT, maintenance or security needs? Reach out!
TLDWP

Plugin: blog-time (Used by 5 domains)

Blog Time

👤 Scott Reilly 📦 v4.0.1 🔗 Plugin Homepage

This plugin adds a dynamic, functional clock to the admin bar (at top of all admin pages) to show the server time for the blog. The clock automatically updates as time passes, as you would expect of a digital clock.

This plugin also supports a static mode which puts a timestamp string at the top of all admin pages instead of the dynamic clock. This static admin time widget can be clicked to update the time in-place (without a page reload) to show the new current server time.

Also provided is a “Blog Time” widget providing the same functionality as the admin widget, but for your sidebars. You may also utilize the plugin’s functionality directly within a theme template via use of the template tag c2c_blog_time().

NOTE: For the front-end widget, if the “Use dynamic clock?” configuration option is unchecked, this plugin generates a timestamp and NOT a clock. The time being displayed is the time of the page load, or if clicked, the time when the widget last retrieved the time. It won’t actively increment time on the display. By default the widget displays a dynamic clock that does increment time.

This is most useful to see the server/blog time to judge when a time sensitive post, comment, or action would be dated by the blog (i.e. such as monitoring for when to close comments on a contest post, or just accounting for the server being hosted in a different timezone). Or, when used statically as a timestamp and not a clock, it can indicate/preserve when the page was loaded.

Thanks to Moment.js for the JavaScript date handling library.

Links: Plugin Homepage | Plugin Directory Page | GitHub | Author Homepage

Template Tags

The plugin provides one template tag for use in your theme templates, functions.php, or plugins.

Functions


  • Returns and/or displays the formatted time for the site.

Arguments

  • $time_format (string)
    Optional. PHP-style time format string. See https://www.php.net/manual/en/datetime.format.php for more info. Default is ” (which, unless otherwise modified, uses the default time forat: ‘g:i A’).

  • $echo (bool)
    Optional. Echo the template info? Default is true.

Examples

  • c2c_blog_time();
    ?>

  • $site_date = c2c_blog_time( 'M d, Y', false );
    ?>

Hooks

The plugin exposes four filters for hooking. Code using these filters should ideally be put into a mu-plugin or site-specific plugin (which is beyond the scope of this readme to explain). Less ideally, you could put them in your active theme’s functions.php file.

c2c_blog_time (filter)

The 'c2c_blog_time' hook allows you to use an alternative approach to safely invoke c2c_blog_time() in such a way that if the plugin were deactivated or deleted, then your calls to the function won’t cause errors in your site.

Arguments:

  • same as for c2c_blog_time()

Example:

Instead of:


Do:


c2c_blog_time_format (filter)

The 'c2c_blog_time_format' hook allows you to customize the default format for the blog time. By default this is ‘g:i A’ (though this may be different if modified by localization).

Arguments:

  • $format (string): The default format for the blog time.

Example:

/**
 * Change the default blog time string
 *
 * @param string $format The default time format.
 * @return string
 */
function change_blog_time_format( $format ) {
    return 'b, g:i A';
}
add_filter( 'c2c_blog_time_format', 'change_blog_time_format' );

c2c_blog_time_toolbar_widget_for_user (filter)

The c2c_blog_time_toolbar_widget_for_user hook allows you to control if the admin toolbar clock widget should be shown, on a per-user basis. By default the admin toolbar clock is shown to everyone who can see the admin toolbar.

Arguments:

  • $shown (boolean): Whether the admin toolbar clock widget should be shown. Default of true.

Example:

/**
 * Only show the admin toolbar clock for the 'boss' user.
 *
 * @param $show bool Status of whether the admin toolbar clock should be shown.
 * @return bool
 */
function restrict_blog_time_widget_appearance( $show ) {
    return 'boss' === get_current_user()->user_login;
}
add_filter( 'c2c_blog_time_toolbar_widget_for_user', 'restrict_blog_time_widget_appearance' );

c2c_blog_time_active_clock (filter)

The 'c2c_blog_time_active_clock' hook returns the boolean value indicating if the Javascript-powered dynamic clock introduced in v2.0 should be enabled or if instead the v1.x era behavior of a static timestamp that can be clicked to update the timestamp via AJAX should be enabled. By default the dynamic clock is enabled.

Arguments:

  • $allow (boolean): Boolean indicating if the admin widget should be a dynamic clock. Default is true.

Example:

// Disable the dynamic clock and use the static timestamp (whcih can be clicked to update the time via AJAX) instead.
add_filter( 'c2c_blog_time_active_clock', '__return_false' );
DomainExposuresHeadersLast Checked
a*z*c*l*i*n*e.com (WP 7.0.2) 👤 F 2026-07-18 16:57:34
c*a*e*m*r*.com (WP 6.9.1) 👤 F 2026-07-09 12:35:09
m*d*r*r*j*c*.com F 2026-07-01 03:55:39
t*e*a*b*e*u*t*s.com (WP 7.0) F 2026-06-02 11:13:55
f*q*o*m*t*c.net F 2026-05-29 16:11:50

Top 50 Plugins

Plugin Count
elementor 1,790,471
contact-form-7 1,776,985
elementor-pro 1,060,251
woocommerce 821,590
revslider 617,190
jetpack 462,542
js_composer 426,753
wp-rocket 342,673
essential-addons-for-elementor-lite 268,743
complianz-gdpr 262,424
gravityforms 258,456
cookie-law-info 232,566
google-site-kit 232,217
instagram-feed 228,114
sitepress-multilingual-cms 213,798
header-footer-elementor 210,488
google-analytics-for-wordpress 209,012
bluehost-wordpress-plugin 193,518
elementskit-lite 183,768
gutenberg 167,324
cookie-notice 152,106
litespeed-cache 142,242
gtranslate 127,196
wpforms-lite 127,160
gutenberg-core 126,436
the-events-calendar 124,215
astra-sites 116,304
popup-maker 111,668
woocommerce-payments 111,409
tablepress 102,668
honeypot 98,638
astra-addon 95,153
wp-smushit 92,213
duracelltomi-google-tag-manager 91,539
all-in-one-seo-pack 90,866
layerslider 90,842
coblocks 90,303
bb-plugin 86,864
premium-addons-for-elementor 85,808
akismet 85,783
cleantalk-spam-protect 83,771
mailchimp-for-wp 83,242
ml-slider 83,145
megamenu 81,358
woocommerce-gateway-stripe 80,656
fusion-builder 78,325
jet-engine 77,472
ewww-image-optimizer 77,459
smart-slider-3 77,269
wp-pagenavi 77,196

Top 50 Themes

Theme Count
hello-elementor 625,787
Divi 504,042
astra 421,695
flatsome 136,386
Avada 122,988
generatepress 116,318
pub 88,006
oceanwp 82,134
kadence 79,952
enfold 70,274
salient 65,992
twentyseventeen 55,052
twentytwentyfour 52,986
betheme 52,877
bb-theme 52,845
blocksy 51,601
cocoon-master 50,232
dt-the7 46,007
twentytwentyfive 44,955
h4 43,800
woodmart 40,288
neve 38,806
Avada-Child-Theme 37,374
gox 36,223
bridge 32,013
twentytwentyone 30,752
lightning 30,296
twentytwenty 29,152
swell 28,479
bricks 26,539
Impreza 26,427
Newspaper 24,475
twentytwentythree 22,507
epik-redesign 19,380
twentytwentytwo 19,140
uncode 18,809
twentysixteen 17,777
pro 17,631
sydney 16,810
storefront 16,519
Total 14,656
hello-theme-child-master 14,102
factory-templates-4 13,738
extendable 13,678
themify-ultra 13,136
hestia 12,778
yootheme 12,749
yith-wonder 12,723
porto 12,099
twentynineteen 11,750