alexsmithbr
Forum Replies Created
-
Thank you very much! Disabling that checkbox in settings solved the problem.
Hide Protected Posts from WP REST API:?Block protected posts from showing in the REST API requests.
Okay. Here’s the scenario:
I have a website which uses MemberPress and I have the Members plugin installed as well. I have a page where I have WP Grid Builder showing a map. When clicking the map markers, an AJAX call is fired and it creates a WP_Query on the backend, which should return data to populate the map pop-up.
When a logged-in user accesses this page, the ajax call works just fine and the WP_Query() call returns the desired data.
When a not-logged-in user accesses this page, the ajax call fails due to the fact WP_Query() returning no rows.
If I disable the Members plugin, the map works in both situations.
I know it’s WP Grid Builder and it has apparently nothing to do with Members, but the problem is not in WP Grid Builder. It is in WP_Query(), possibly influenced by Members somehow.
So in the end my question is: does Members set something regarding non-logged-in users in a way it can intercept queries and allow/deny them?
Let me know if you need further information. I’m happy to help.
Forum: Fixing WordPress
In reply to: show_admin_bar(false) no longer workingThank you very much! Solved my problem!
Forum: Fixing WordPress
In reply to: 404 Not Found After Updating PermalinksWhy is this marked as “resolved” if not even a reply was posted?
By the way, I’m having the same problem: all permalinks return “not found”. I’ll try to post a real answer here if I find out what’s going on.
- This reply was modified 8 years, 2 months ago by alexsmithbr.