How can I restrict a specific logged user (current role is subscriber) via wp_get_current_user() to view only specific pages?
and of course it is a must that the
.htaccess file is in place
i want restrict my registered authors to write comment to other posts except his own posts. Is it possible? I have no idea how to do it. May be need conditional logic but how?
I want to restrict users in wordpress to view their own post and media items only.
Following the steps given in the below link I have developed the plugin to restrict users to view the own posts and media items only.
I have a very specific use case where the site built for a lawyer and each of his clients can login to their own ‘specific page/portal’ (custom post type) without the ability to access wp-admin etc. (I created all the login/register/profile-editing pages in the front end). In this page/portal the lawyer will leave messages and files for the client to download, now theoretically speaking, one client can guess (or if has knowledge of another client’s files) other file names and download then thus creating an issue with privacy/security/confidential material etc.