Hi,
I have a My Account page that is supposed to show current logged-in user's meta data only (no login form as described in your docs). The view works fine, but it shows data for all users with the same role, not just the current user. I read through your docs and tried the followings, but with no success.
Unfortunately, I've tried accessing the website using a couple of different internet and VPN connections, but the Wordfence plugin keeps blocking me with a message:
"Your access to this site has been limited"
Can you please temporarily disable any GEO IP restrictions from the website and let me know?
2. In the view's "Query Filter" section no filter exists to show only a specific user. If you'd like to limit the view to user whose ID is passed through the view's shortcode attribute "users", you can include query filter as shown in the screenshot: hidden link
3. In the page "Il mio Account utente", the shortcode "{!{wpv-user field='ID'}!}" isn't returning the ID of the currently logged in user as it should.
To troubleshoot this, I'll need to perform some troubleshooting on your website's clone/snapshot.
Do I have your permission to download a fresh duplicator package from your website?
( the Duplicator plugin is already installed )
Once I'll have the confirmation, I'll download the clone and will perform some tests on my own server, without affecting the actual website.
Thank you for waiting while I performed some troubleshooting on your website's clone.
During testing, I noticed that to show the currently logged-in user's details through the view "Account utente loggato", the following changes were needed:
1. The correct shortcode for the view in the page "Il mio Account utente" needed to be changed to:
2. In the view "Account utente loggato", only "subscriber" role was selected and no query filter was added.
I selected "Any role" option in the content selection and included a query filter to get the details of only that user, whose ID has been passed through the "users" attribute.
( screenshot: hidden link )
As a result, now when you'll visit the page ( hidden link ), you'll see the correct user's details.
( screenshot: hidden link )
I hope this helps and please let me know if you need any further assistance around this.