-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to organize post type by connected post-type meta value #458
Comments
Making some progress, but still can't figure it out 100%. Tried using "connected_type", "connected_to" and "connected_query" to sort by the Event meta value but no go. See:
Close but no cigar! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey there,
First of all, awesome plugin! I've used it a couple of times for some basic custom-post type connections and it's worked out great! I'm currently developing an event listings website, and am using two connected post-types: Artists and Events. I currently have a Complete Listings section that's displaying each artist alphabetically, and the events connected to that artists by event date (the meta value). See: http://puu.sh/bBDrN/9e645a5f0e.png.
My client recently asked if we can organize the Complete Listings, showing artists that have the most recent event dates first but still having their shows grouped together. For example, if you look at the screenshot above, they would like the Hey Rosetta! box to show before the Adam Baldwin box, because they have a show on the 17th, compared to the 27th.
Here's my current code for the Complete Listings:
We are stumped at what the best way to re-write this would be. Any help would be greatly appreciated.
Thanks,
Andy
The text was updated successfully, but these errors were encountered: