For this new website I am working on there are two types of posts that will be made, a blog CMS and a podcast CMS set up (they have slightly different layouts, hence why I needed to make them separate).
I want a page with thumbnails, titles, dates, and blurbs for all the blogs and podcasts. I want them combined in one large list and sorted in order of the date on the blog/podcast. I do not want a drop down with options for sorting, I just want everything to be in order by date upon the page loading.
Currently I have tried using Finsweet but the sort requires a trigger, like a drop down or button, so that has not been working. I currently have the Finsweet combine CMS in place, so everything looks like one big list. However the blogs are all grouped at the top, in order by date, and then the podcasts are grouped at the bottom, also sorted by date. I want it to act like one big list that is sorted by date, regardless of whether it is a blog or a podcast.
Perhaps this cloneable from Finsweet would help? Looks like you can simulate a click happening on a hidden button that causes the sort to happen so there isn’t any user interaction needed or a sort button to be visible.
I tried that but it isn’t working even when I show the button and click it the sorting still isn’t right. Is there a way to do this using just CMS collections?
I had all the code pasted into the head tag so I moved it to the body tag. Now when I click the button it does something, but it looks like it is alphabetizing the posts by the month, which is really weird.
Thank you so much for this help! It looks like it is organizing them now (yay!) but it’s showing the oldest first, I want the oldest to be last. Any advice for fixing that?