Skip to content
WordPress.org
  • Showcase
  • Plugins
  • Themes
  • Hosting
  • News
    • Learn WordPress
    • Documentation
    • Education
    • Forums
    • Developers
    • Blocks
    • Patterns
    • Photos
    • Openverse ↗︎
    • WordPress.tv ↗︎
    • About WordPress
    • Make WordPress
    • Events
    • Five for the Future
    • Enterprise
    • Gutenberg ↗︎
    • Job Board ↗︎
    • Swag Store ↗︎
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

Posts by GMT

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Posts by GMT

By rjl20
Download
  • Details
  • Reviews
  • Installation
  • Development
Support

Description

Most people don’t need this plugin. Most wouldn’t notice a difference if they had it. All it does is change the default sort order of a WP_Query from posts.post_date to posts.post_date_gmt — that is, sort on the GMT timestamp of a post rather than the local time zone.

Who needs this? People who switch time zones frequently. People running a network installation of WordPress where they want to be able to aggregate posts from all their network blogs easily, and in the right order. I don’t know. I wrote it for FreeThoughtBlogs.com, so their “most recent posts” sidebar would stop showing only posts from a few blogs in early time zones. If it works for you, great.

I have every hope that this plugin will be made obsolete by the default sort order being changed in the WordPress core. I can think of no good reason why comments are sorted by GMT but posts by local time.

For all I know, this plugin works with older versions than 3.0. I’ve only tested it with 3.2.1.

Installation

The same as with any other WordPress plugin:

  1. Upload posts-by-gmt.php to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. That’s it. There are no configuration options.

FAQ

Are there any frequently asked questions?

Not yet.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Posts by GMT” is open source software. The following people have contributed to this plugin.

Contributors
  • rjl20

Translate “Posts by GMT” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0

  • Initial version.

Meta

  • Version 1.0
  • Last updated 15 years ago
  • Active installations Fewer than 10
  • WordPress version 3.0 or higher
  • Tested up to 3.2.1
  • Tags
    gmtorderbypostssort ordertime zone
  • Advanced View

Ratings

No reviews have been submitted yet.

Your review

See all reviews

Contributors

  • rjl20

Support

Got something to say? Need help?

View support forum

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Documentation
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org
  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Code is Poetry
The WordPress® trademark is the intellectual property of the WordPress Foundation.