Hey folks, I'm looking for an option to hide content from non-logged in users. I checked these topics:
It seems to me it was possible to achieve desired behavior programmatically only. Is it the same situation now? Any additional UI config was introduced since then?
Possible duplicate of: ► How can I hide all info when users are not authenticated? ► Is it possible to hide content for users who are not logged in?
I don't think there's a plugin for this yet. But you can hide content in a few different ways.
By going to: Admin > Permissions > Viewing question pages
Or wrapping the code you'd like to show only for logged-in users, with the following if statement :
if (qa_is_logged_in()) { // YOUR CODE GOES HERE }
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.