I ended create another custom post type to manage the schedule and I created a relation to the existing films custom post type:
– Films (all films without tv guide)
– TV schedule (each post represents time in the tv guide and can only be related to one movie). I then enabled future posts to be displayed, this allowed me to use the default post date to so re-arrange the schedule. The default post date also allowed me to expire posts older than 30 days easily.
I plan to write the functionality into a plugin for anyone who might be interested. I will come back and update this.
Related Posts:
- Loop order issue with Ajax filter
- AJAX with loop filtering categories
- How to order posts tag by tag?
- How can I custom order the results from wp_list_categories?
- Sorting Woocommerce products with numeric titles [closed]
- Exclude filter on front page
- Filtering The Loop For Single Page and Blog Page
- Sort Posts By Category?
- Custom search form to display users only
- wordpress change the loop order by dynamic value
- How to order posts by meta_value created inside loop?
- How to get an array of years from all of the search results, and use it to filter by year the paginated loop?
- How to get_posts where ‘menu_order’ is more than 0/zero?
- Query posts if meta key starts with
- How to return only one instance of each, from the entire loop
- Query reset problem or flawed code to enable custom post type query
- Combining action and filter?
- Filter the loop by categories using checkbox form
- Filter the_posts doesn’t work on search page
- How to check if a product is purchased within the last 365 days before displaying something
- Trying to get property of non-object in shortocde
- Make a loop to return x number of posts, but only if they have content or excerpt
- Filter existing hook using parameter and foreach loop
- Filtering by multiple conditions in the loop
- Ascending order has strange effects on wordpress loop
- Add Search and Filter functionality to custom loop
- Loop random posts and display odd and even based on two alternating meta values?
- Reorder posts in a loop: have the posts by one particular author below the others
- How to filter get previous post function by meta value DESC and post date DESC?
- Remove posts_orderby filter then add it back in
- Buddypress Group Activity Loop Filter activity type [closed]
- get_posts and wp_autop (remove filter)
- Help with add_filter(‘the_content’, ‘some_function’) and multiple matches
- Applying a filter to multiple loops for days ago
- WordPress Not Sorting By Custom Field
- How to use orderby on meta_value when using Pods custom database table storage
- Why should I put if(have_posts()), is while(have_posts()) not enough?
- Remove the Homepage Query
- Order posts by ID in the given order
- wp-admin redirecting to https, denying login
- wordpress loop for specific category
- Multiple posts with one loop iteration
- Query date in wordpress loop
- Transient not working for custom loops
- Display page of custom posts?
- include(locate_template) messing up the loop
- Get link of inserted media file of post within loop
- Output shows a page instead of a list of blog postings
- How to add “time” data this?
- multiple loops with pagination on the same page
- Loop through all media library images and return those where caption contains the text carousel
- Multiple loops on the same page removing post tags
- Pages inside a page (with thumbnails)
- How to make post content from each post display within the same div
- Displaying the last page of posts
- WordPress Redirects on Install
- How to load all pages into one page with their templates
- Repeating Loop on my Posts Page
- Shortcode with a foreach and arguments
- Detect if current page is front page within custom query
- Infinite Scroll and DFP
- Blog’s post count cause irratic behavior
- Sanitize Custom Field Value in Meta Query
- Default ‘post’ post type archive slug?
- Pagination – works on local but not live dev!
- need help looping add_action in wp
- Combine the results of two loops [closed]
- How to display pending posts on the homepage only for editors
- How can I improve the performance of this query_posts loop?
- WordPress Image Slider Looping Title Not Working
- Adding div after every two post on main loop! Why will first post not get counted?
- Second Loop Showing Only One Post on Single Post Page
- Pulling in featured image into default recent posts widget
- Modify loop output for a specific list of categories
- Change position of entry title
- Print the whole page?
- Loop info in jquery Tabs – loop into a variable?
- Insert content above an embedded video inside Wordress’ php the_content
- Use ACF Category Image for all Taxonomy Archive Views
- Loop with custom posts, to include information from different custom post type
- the loop printing post in one grid
- Check value of post meta within IF statement
- Transient not working for external data
- Show posts by tags excluding current post
- Adding options to loop
- Keep post format class with isotope filter
- Featured posts and the loop
- How to fix pagination for custom loops?
- Custom Post Type Order Index Loop
- Display latest posts using WP Loop with different size divs
- Combining external feed into post loop
- Get last 5 days with posts
- Displaying posts limit: can’t get pagination to display [duplicate]
- Please help me to win the battle with 2 column loop by category
- Display content from “About Us” page on the Home Page
- How to use add_action(“wpcf7_before_send_mail” outside wp loop?
- repeating posts on 2nd page to posts
- Limitless amount of posts in custom archive page
- Two loops in CPT archive page, exclude posts from main query
- FacetWP custom display based on post type [closed]