Tagged: enfold
Hi,
How do i show the post’s standard image on a post if it is password protected?
The image is be displayed if you click on the post.
The overview is created via Masonry
My customer would like to see it as the background behind the lock
Has previously worked with this code – see this thred
//check if post is password protected
if( post_password_required( $id ) )
{
$this->loop[ $key ]['class'][] = 'entry-protected';
$this->loop[ $key ]['text_before'] = av_icon_display('closed');
}
Latest Enfold / WP
Br, Pete
Hi,
This is solved by overwriting av-helper-masonry.php with latest and making the motifications.
Br, Pete
Hi Pete,
We’re glad to hear that :)
And thanks for sharing the fix.
Thanks for using Enfold and have a great day!
Best regards,
Nikko