Forum Replies Created
-
AuthorPosts
-
Dragan
ParticipantNot finding a solution to this. I installed everything again and still doesn’t seem to work. Using the the most recent versions as well. When I add an event it just goes to the top rather than in the section where it should.
Dragan
ParticipantHi Cliff,
They are still out of order when I remove the snippet. I am using a test site now instead of making the changes on that site. I feel it will be easier this easy until I find the solution.
Any ideas?
Dragan
Participant// Changes listed event views to reverse chronological order
function tribe_past_reverse_chronological ($post_object) {
$past_ajax = (defined( ‘DOING_AJAX’ ) && DOING_AJAX && $_REQUEST[‘tribe_event_display’] === ‘upcoming’) ? true : false;
if(tribe_is_past() || tribe_is_upcoming() || $past_ajax) {
$post_object = array_reverse($post_object);
}
return $post_object;
}
add_filter(‘the_posts’, ‘tribe_past_reverse_chronological’, 100);—————–
This is the snippet I found in the forums for ascending order. It works.
When I remove it the events go back to descending order.Dragan
ParticipantHi Cliff,
That is definitely my issue. It’s still showing events from last December when even though they are existing posts, they should not be visible on the events page. I’m not too sure why. I installed the Events Calendar PRO and have the latest WP installed.
Any ideas as to what it could be?
Dragan
ParticipantI will try my best to troubleshoot the issue.
Here is the link to the events and how they are displayed: miamibeachmag.com/eventsDragan
ParticipantThis didn’t work on the desktop view either, everything is misaligned.
You can see in the image that I attached how it looks in list view with that CSSDragan
ParticipantSomeone created a post on the forum about this and said they solved it but couldn’t see how they did it.
Dragan
ParticipantThis reply is private.
Dragan
ParticipantHi Cliff,
I don’t have a customized list view but just wanted to move the title and date from above the thumbnail to the right with the excerpt. When viewing it on mobile as well the excerpt wraps underneath the thumbnail and I’m not a fan of that.
I’m working on my site but it’s not live. I can give you access to it.
Dragan
ParticipantHey Geoff,
Thank you for the quick response. This actually worked perfectly!
-
AuthorPosts
