How to create separate login for authors/moderators/subscribers?
How to create separate login for authors/moderators/subscribers?
How to create separate login for authors/moderators/subscribers?
Logging in to the frontend works correctly but not for WP-Admin
Allow login only for one account from one device
Abnormal activity at url /my-account/add-payment-method/
My problem was due to bad use of COOKIEPATH. The overwrite of COOKIE PATH blocked the browser to display and access to wordpress_logged_in_ cookie and its reading. The browser Safari was entirely blocked and didn’t allow access to wordpress dashboard. Also the error “Cookie blocked : please activate cookies” of browser was entirely due to … Read more
User Roll Editor (WordPress Plugin) lets you assign permissions to users via an easy toggle box interface. “Read Posts” is an option there, so you should be able to assign that permission to only people logged in under a certain roll. You can set the default log in roll to contributor, for instance, and manage … Read more
if (is_user_logged_in()) { echo ‘You are logged in. Yay!’; } Codex: is_user_logged_in()
Pretty sure wp_check_password() is not meant to be used the way you’re using it. From the looks of the documentation, and as far as I can tell by looking at the source, this function is only meant to compare the plaintext password you provide against the hash you provide–not to check whether a particular user’s … Read more
I think you mean the Content-Disposition header. I recently did a very similar thing for a client. My weapon of choice: custom rewrite rules. First, add the rewrite: <?php add_action( ‘init’, ‘wpse27232_add_rewrite’ ); /** * Adds the rewrite rule for the download. * * @uses add_rewrite_rule */ function wpse27232_add_rewrite() { add_rewrite_rule( ‘^download/?$’, ‘index.php?file_download=true’, ‘top’ ); … Read more
You can try the Disqus Comment System, which allows comment login using Google, Twitter, Facebook, or OpenID accounts, and is totally import/export compatible with WP comments.