Skip to main content
added table
Source Link

I am using the FT Calendar Plugin. My question is how can I order posts of a custom post type by the event calendar date?

So for instance I have a CPT named "Events" and for each event post a calendar date is added. Problem is that the page that lists the event posts doesn't order the posts by event calendar date, but the standard wordpress ordering. Is there a way to order them in my query instead by the FT Calendar event date?

The data for the event dates are stored in their own table "rfw_ftcalendar_events".

id | calendar_id | post_parent | start_datetime      | end_datetime

1  | 2           | 210         | 2013-04-05 15:00:00 | 2013-04-05 16:00:00

I am using the FT Calendar Plugin. My question is how can I order posts of a custom post type by the event calendar date?

So for instance I have a CPT named "Events" and for each event post a calendar date is added. Problem is that the page that lists the event posts doesn't order the posts by event calendar date, but the standard wordpress ordering. Is there a way to order them in my query instead by the FT Calendar event date?

I am using the FT Calendar Plugin. My question is how can I order posts of a custom post type by the event calendar date?

So for instance I have a CPT named "Events" and for each event post a calendar date is added. Problem is that the page that lists the event posts doesn't order the posts by event calendar date, but the standard wordpress ordering. Is there a way to order them in my query instead by the FT Calendar event date?

The data for the event dates are stored in their own table "rfw_ftcalendar_events".

id | calendar_id | post_parent | start_datetime      | end_datetime

1  | 2           | 210         | 2013-04-05 15:00:00 | 2013-04-05 16:00:00
Source Link

Order posts of a custom post type by the event date using FT Calendar Plugin

I am using the FT Calendar Plugin. My question is how can I order posts of a custom post type by the event calendar date?

So for instance I have a CPT named "Events" and for each event post a calendar date is added. Problem is that the page that lists the event posts doesn't order the posts by event calendar date, but the standard wordpress ordering. Is there a way to order them in my query instead by the FT Calendar event date?