Hi @eggdesign1994
I tried replicating this on my end, and the [restrict]…[/restrict] shortcode worked as expected, so let’s troubleshoot a few things to get it working for you.
When using the shortcode, please make sure of the following:
- Member Access Setting: On the post or page where you added the
[restrict]…[/restrict] shortcode, check the “Member Access” option (Restrict Content metabox). See: https://share.zight.com/9Zu1lLNm
- Shortcode Placement: Ensure the
[restrict]…[/restrict] shortcode wraps only the content you want restricted. Extra spaces or line breaks sometimes interfere with parsing in some themes or editors.
- Theme or Plugin Conflicts: Some themes or plugins may override content visibility. If the above doesn’t fix it, try temporarily switching to a default WordPress theme (like Twenty Twenty-Three) and deactivating other plugins to test.
- Logged-In vs. Logged-Out Users: The restriction only applies to users who do not have access. Make sure you’re testing as a logged-out user.
Let me know how it goes.
Best regards,