Tag Info

New answers tagged

0

You just need to hook into the filter like this and replace 0 with a time calculation, like time() + 60 function set_cookie_expire () { echo 0; } add_filter('post_password_expires', 'set_cookie_expire');


2

The function next_post_link() allow excludes, with the parameter excluded_terms. Add a list of the IDs of the password protected posts to this param. You get a list of all password protected posts with the follow example via DB select. $password_pages = $wpdb->get_col("SELECT ID FROM $wpdb->posts WHERE post_status = 'publish' AND post_type = 'post' ...


3

The password strength meter in the latest versions of WordPress uses a library called "zxcvbn", made by Dropbox in 2012. The library is available for free on Github: https://github.com/dropbox/zxcvbn An explanation of the library is here: https://blogs.dropbox.com/tech/2012/04/zxcvbn-realistic-password-strength-estimation/ But the short version is that it ...



Top 50 recent answers are included