The function WordPress ultimately uses for this is get_adjacent_post(), which has filters that allow you to modify the query directly. You’d have to modify the JOIN
, WHERE
and ORDER BY
clauses to join the post meta table and order by your custom field.
Another option is the Ambrosite Next/Previous Post Link Plus plugin.
Related Posts:
- How to represent “event” in a UML Class Diagram?
- How to test wp_cron?
- Get Next / Prev 3 Posts in Relation to Current Post
- Recommendation for a WordPress Calendar Plugin with Recurring Events? [closed]
- Post date vs. event date in WordPress
- Looking for a simple calendar/events plugin [closed]
- Get next/previous cousin page
- How to make Next and Previous attached image navigation on the attachment page? [duplicate]
- Posts archive index pagination in a static page custom query
- Loop – how to get previous/next post for first/last post?
- Create a custom event post
- Next and Previous loop
- Show events date instead of article date in default calendar widget
- get_previous_post in same categories
- how to set array of args for scheduled event?
- Next Previous siblings child pages
- Events plugin for irregular / complex events [closed]
- get_adjacent_post() returning weird results
- How to get an event to fire using Google Tag Manager for the wordpress audio player?
- Event Organiser: Event list includes regular Posts & custom fields? [closed]
- next and previous year month and day for archive page
- Add title for previous and next posts to Yoko Theme
- Single Events as Sub-Page to Main Calendar Page
- Styling Previous/Next Pages differently from Index
- Get previous/next post from (specific) category
- Reverse order of events on homepage [closed]
- Update user meta after one hour
- How can I change the prev / next buttons text to Dutch?
- How To Show Get Adjacent Posts If Posts Are Sorted By Custom Field
- Show multiple next and previous posts
- Event booking form for wordpress
- Event Management plugin
- How to Create Events Calendar
- Group the events post in month+year format?
- how can create carousel for posts that will be published a month later?
- Upcoming events
- Add option in th event calendar
- WordPress The Next Posts
- Display NEXT and PREVIOUS pagination? [duplicate]
- Category foreach Paging
- get next/previous post name
- Footer with next/previous posts
- Post Terms As Class Name For Full Calendar Events
- Is that the query_posts() the real criminal here?
- Add a “Next Post” & “Previous Post” styled button manually to a post
- Need to build a community membership and event/ticketing system
- jQuery equivalent of JavaScript’s addEventListener method
- What’s the difference between event.stopPropagation and event.preventDefault?
- How to set a timer in mysql
- What does on() in JavaScript do?
- Javascript removeEventListener not working
- Jquery .on(‘scroll’) not firing the event while scrolling
- How to use pygame.KEYDOWN to execute something every time through a loop while the key is held down?
- jquery, find next element by class
- How to block until an event is fired in c#
- How to handle a Button click event
- jQuery multiple events to trigger the same function
- Angular 2 Hover event
- onKeyDown event not working on divs in React
- onclick event pass
- id or value
- Fire oninput event with jQuery
- What does hasNext() in a While do?
- Why onbeforeunload event is not firing
- How can I capture the right-click event in JavaScript?
- WordPress: schedule multiple action hooks of the same name and time
- How to run a function every 5 minutes?
- WP Cron Doesn’t Execute When Time Elapses
- WordPress Media Uploader events
- How to set a custom post type to have viewable future posts
- Get previously visited page ID
- Scheduled events disappear from events queue
- trigger save_post event programmatically
- How to capture the selection:toggle event fired by wp.media
- Only Showing Upcoming Events
- How do I search events between two set dates inside WP?
- wp_schedule_event not working?
- Manipulate post category after time
- How to create collections that are edited in admin?
- All-in-One Event Calendar: Custom Query – Getting each event Instance [closed]
- How Do I Make WordPress Run an Event Every Day?
- Plugin for event management? [closed]
- Loading Custom Post Type Events into jQuery-based FullCalendar?
- Custom Post Type “Event”: chronological list of recurring events
- The holy grail of Event Management Plugins? [closed]
- Is there a WordPress Event Manager that links with your user database?
- How to trap “Publish” button to check for meta box validation?
- Conference website with ticket-sales + sponsorship sales with WordPress?
- sort events based on event date custom field
- Archive by custom post type and custom date field
- Filtering more than one term in a taxonomy in WP
- How can I invoke an action after a CiviCRM triggering event?
- Conference ticketing and seating module for WordPress [closed]
- WordPress Plugin for One-Time Event Registration? [closed]
- How to use get_categories() with Event Organiser plugin
- Short code for Venues
- Cache previous versions of website?
- javascript is not working on Event Submission?
- Previous & Next on Index Page broken
- How to show link to next posts in single.php
- WP_Query meta_query results date by date