vkristic
Forum Replies Created
-
Thank you! I found a plugin in conflict. It’s Magee Shortcodes. I’ll find another solution for what I need it.
Forum: Plugins
In reply to: [Passster - Password Protect Pages and Content] Cookie not working anymoreThank you! Everything is OK right now!
Forum: Plugins
In reply to: [Passster - Password Protect Pages and Content] Cookie not working anymoreHi, I use template function (put in content-single.php):
<?php $passwords = 'my-password1,my-password2,etc.'; if ( true === passster\PS_Conditional::are_passwords_valid( $passwords ) ) ?>
Additional information:
When I unlock a page or a post and try to look at the source code, it gives a message ERR_CACHE_MISS. So I have to refresh a site and it gives me a source code of a site with locked content.
There is certainly a problem with cookie script and cacheing.
I will use some cacheing plugin, but at this moment, there is no cacheing tool on the page.
I don’t use a passster shortcode. I use a code for template that you provided me.
Everything worked fine with non-commercial version and single password.
- This reply was modified 6 years ago by vkristic.
Thank you! This is it… Regards!
Something is still wrong.
I put this:
$passwords = array( '123', '456', '789' ); if ( true === passster\PS_Conditional::are_passwords_valid( $passwords ) ) { the_content(); }
And set multiple passwords in plugin settings to 123, 456, 789
But it does not work.
- This reply was modified 6 years ago by vkristic.
Hi Patrick, I just upgraded to Passster Pro and this solution for templates isn’t working any more with multiple passwords.
I tried with this:
<?php if ( true === passster\PS_Conditional::is_password_valid( '123', '456', '789' ) ) { the_content(); } ?>
Only first password (123) works.
- This reply was modified 6 years ago by vkristic.
It works great! Thank you!
Forum: Plugins
In reply to: [Open Graph and Twitter Card Tags] Facebook Image not LoadingSame thing for me! Everything worked perfectly, but after 2.1 update it won’t show any image in share.