Posted: June 16, 2020 at 8:19 am
|
Dear support team, we encounter the following problem: |
Hi there, Generally, when this happens it is because something on your site is specifically filtering out all posts that do not have a status of ‘publish’ as sold out events have a status of ‘sold_out’. Can you link me to the page in question? |
|
|
Dear Tony, I also tried to put all events in a folder from the Folders Plugin but seems like EE doesn’t work with folders. I can select Learndash courses and other this to be used for folders, but “events” is not available. I was trying to filter by a specific folder then with the Elementor Posts widget (maybe this would have ignored the posts status), but seems like it doesn’t work. |
|
Dear Tony, I also tried to put all events in a folder from the Folders Plugin but seems like EE doesn’t work with folders. I can select Learndash courses and other this to be used for folders, but “events” is not available. I was trying to filter by a specific folder then with the Elementor Posts widget (maybe this would have ignored the posts status), but seems like it doesn’t work. |
|
Oh I think we found the solution. It is as you said: when using the Posts Widget, only posts are shown that are published. However if we use the Archive Posts Widget, also other Events (sold Out) are shown correctly. Thanks for pointing us into the right direction! 🙂 I think this will work |
If you want to use that posts widget, then yes, you’ll need to check with Elementor support. They may have a filter available that allows you to change the post type.
I had a quick look at folders, and it looks like you would have the same issue there as the code specifically sets the status:
I’d need copies of the plugins you are using to know for sure, but so far it looks like neither will support custom post type stati. |
|
|
Yes I guess you’re right – thank you for having a look at this. We try to use the Archive page for showing the EE events, since this seems to work (it only ignores past events, which is fine of course). Thank you for helping us out with this! |
The support post ‘Sold Out Events disappear on Events Page’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.