Hi jt,
Can you post a link to your site? There never has been a “[only_public]” shortcode, so it would be helpful to be able to check what other plugins are being used. There was no change in any of the shortcodes or attributes, other than adding in support for payments.
Also, in case the site is live, all previous versions of the plugin are available here:
https://wordpress.org/plugins/front-end-only-users/developers/
Hey,
If the shortcode you’re using is actually public_only, is this what you’re using to restrict the site?
http://para.llel.us/themes/salutation-wp/shortcodes/miscellaneous/
Hi jt,
Is there any update on what the problem might have been and whether the site is working now?
Hi, I’m really sorry for my message. Perhaps indeed it is not the plugin that is causing the problem. I will look into the code and check for the solution. Thanks!
Is there any shortcode to block certain parts of the website for logged-in members? And also the other way around, to block certain parts of the website for non-logged in members?
Hi jrt,
No worries. You can use the [restricted] shortcode to block sections from non-logged in users, as well as to block other sections from logged-in members.
For the non-logged in users, you’d simply wrap the content in [restricted][/restricted] tags:
[restricted]Content goes here[/restricted]
To block a portion of content from logged in users, it would looks like:
[restricted block_logged_in='Yes']Content goes here[/restricted]
For either tag, you can suppress the message that appears for blocked users if you want to hide content seamlessly by adding “no_message=’Yes'” so:
[restricted no_message='Yes']Content goes here[/restricted]