I have a CPT of "Upcoming-Homepage". I have this where my customer can make a post (as well as add an end date to when it should disappear) on the homepage in place of some other standard content.
On the "/hpost/" page, I have a post form as well as where I am querying current and expired posts for my customer to edit or delete.
My issue is.. that in this query, it's showing (as pictured) the current page in the query. Checking the "Don't include current page in query result" has no effect on it whatsoever. I've also tried everything I could to get it gone, including trying to exclude the page by it's ID, and a few other things that I thought would filter it out. Nothing removes it.
I've messed with this for quite a while and I just can't seem to get it gone. 🙂 The view is /edit-page-events-list/ which resides on the /hpost/ page. The single' template for the CPT is an Elementor template (only being used for the edit form) which is /wp-admin/post.php?post=2261&action=elementor -- new posts are shown on the homepage using a completely different toolset template.