Randomize access to post

If I were doing such a thing, I’d do something like the following Determine how to tell which posts people could potentially gain access to, perhaps via a custom field. Store user meta data holding the posts they have gained access to Write a quick class (or a couple of functions) to handle (a) gathering … Read more

limit the access to uploaded files

If people can guess the file download urls then they will still be able to get to them (e.g. if someone who has access shares the download urls out). To get around that kind of problem you typically need to set up a file handler script that will grab them from a protected directory that … Read more

Username has been exposed

Yes, the links will always be accessible unless you disable them on your htaccess or a PHP file. If you don’t have any author page, probably the users (or bots) that are reaching this page are seeing your index page. I highly recommend you install Google Analytics code on your website to track what your … Read more

post acces for guests / unregistered users only

You’ll definitely need custom code for this. Understanding how to create custom queries via WP_Query() will be immensely helpful. You will also need to modify the ‘perm’ parameter for WP_Query() to change the results based on user permissions. https://codex.wordpress.org/Class_Reference/WP_Query https://codex.wordpress.org/Class_Reference/WP_Query#Permission_Parameters If the native WP_Query parameters still don’t give you exactly what you’re looking for you … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)