How to make the events on a wordpress page hang by the time of their end, not their beginning?

Hi guys, I have a problem. We have a wordpress-based webpage, where we put events. But the events are always aligned by their beginning, which means for example that an exhibition from 18-12 until 20-3 is now very far away and between irrelevant stuff now. Is there any way this could be fixed please? And no, we cannot pin it, as we have some general info pinned. Thank you!

1 Comment
  1. Hook to pre_get_posts, check for that post type and add a meta query to sort by the custom field containing the end date.


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer