Don’t use the publish date as the event date. Save the event’s date in a custom field in the format yyyy-mm-dd
, and use a meta query to order events by that date.
Also see pre_get_posts
for ordering events correctly on archive pages without running a new query.
Related Posts:
- User-Specific Timezones? Hack? Plugin?
- Update existing post dates to random dates and time
- Include post_date in search
- Can we completely remove the WordPress Sitemaps (WordPress 5.5)?
- Disallow a user to post in certain categories
- Article source link for posts
- Publish Post After Click On A Link
- Get the last post ID
- Enable comments for post with comments meta box removed
- Custom Post Type causes Page Not Found
- Unique post-id for WordPress Multisite Network
- plugin for wp_list_categories with posts
- Replace existing pages with new pages, keep menu links
- Adding “ ” before the last word in multiple defined areas with a plugin
- Allow Facebook to preview posts before published
- How to change ID of an attachment in wp_posts and its related tables correctly?
- CKEditor: Uncaught TypeError: switchEditors.switchto is not a functiononclick
- New post notification plugin [closed]
- Adding Plugin-specific Fields with wp_insert_post()?
- Output HTML only on individual post view
- Execute a plugin only on post pages
- Portfolio + Blog: multisite or plugin?
- How to enable qTranslate languages tabs in custom plugin page
- How do I “get the next 10 posts after post_id == x”?
- Date calculations from 2 custom fields
- Calendar Solution: Handling upcoming Dates with Posts?
- get_post_type on post.php
- How to hide some section in WordPress under Post
- Can’t delete Draft Post [closed]
- WordPress comments not appearing in blog posts, likely because of Redux template. Could I fix this with a plugin that adds a comment form as a block? [closed]
- Display by Category in Admin
- posts comments goes to trash
- Redirect to another page using contact form 7? [closed]
- Is it possible to send blog posts via email to subscribers?
- Custom setup of wordpress comments that are displayed
- Is there any plugin which can paste a common content to my every post?
- Recent posts per category loop?
- Import Instagram post to WordPress blog post
- How to get all posts belongs to a user between a certain date
- How to change the post form from plugin?
- Allowing users to Sign-up > Login > Post articles that need approval
- posts from multiple post types in one slider
- How to display the featured post on the category page?
- Set Multiple Meta Values as an Array Using dispatch( ‘core/editor’ ).editPost() Call in Gutenberg/JS
- Is there a plugin or a way in the wordpress that would let us have different versions of a post or page accessibe to users?
- download button for audio file in post [closed]
- check uncategorized category by default
- Print posts category or tag as a formatted journal
- Post deleted in trash [closed]
- How to relate 3 wordpress components with each other (Create database relationships)
- What hook can I use to modify custom post data before it is displayed on the page?
- get current page number with wp_link_pages()
- problem with register_activation_hook in plugin
- Delete data from custom table when deleting a post
- Plugin is creating posts twice
- How to write a new file when new post has been published in WordPress
- Looking for a filter to modify the months
- How to Get Recent 5 post in My Title bar?
- Plugin for visitors to edit content without logging in? [closed]
- WP Insert Post If user refreshes override new post
- Summary and Comments on Main landing Page
- Method/Plugin/Hack to Start a Post with an Writing Outline?
- What snippet do I need to type to show my ACF field show up on my theme?
- Is there a way to make [Table Of Content] plugin while not using revision data?
- Why the internal link get converted into a comment?
- Is it possible to pin a post in second position from top
- Oops! That page can’t be found
- page duplication on wordpress that wont stop
- WordPress is redirecting me to homepage
- Adding custom post category to categories widget
- How can I see $post object in frontend from functions.php?
- Allow members to create groups on my site
- All Post WordPress Page Error
- Is it possible to create duplicate post on other site (either push, on publish, or pull, periodically)?
- How to wrap image tag into div for post only?
- My own metabox checkbox plugin only saves the last value I’ve checked
- How to prevent authors from editing their post count?
- Add dynamic color to each category item
- How to force regenerate thumbnails in WordPress posts?
- How to customize ‘recurrance’ of’ wp_schedule_event’?
- Serialize $_POST global in wordpress
- How to use shortcode of any plugin to show it visually where i want?
- WordPress not updating post or disable plugin instead a white page appear
- Ger posts from similar tags and categories
- Internationalization of Blog Posts
- Issues with Post 2 Post Plugin
- How to add character to content of post?
- single.php fires more than once after clicking on any post to view with different post id each time
- Twitter List Tweets and Delicious Links as Posts
- Custom feed parameters / Template overriding
- How to make only selected posts appear on a selected wordpress page
- How to block external download link access if visitor not referred from WP?
- Plugin to display text before a post
- Notifications Bar on home page only
- Distribute post content through several divs [closed]
- Does anyone have the Custom Post Permalinks plugin from John P. Bloch? [closed]
- Shortcode returning specific content of a post
- How to get an error message if a form is empty (plugin: Post for site) [closed]
- Is there a plugin or another way that can help me find out the underlying files of a page/post? [closed]
- How to update a lot of posts on my WP site with additional content?