Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1287028

    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

    see https://ibb.co/RgPWYr3

    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

    #1287033

    Hi,

    This is solved by overwriting av-helper-masonry.php with latest and making the motifications.

    Br, Pete

    #1287347

    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

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘post standard image on password protected post gone on latest version’ is closed to new replies.