Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #627323

    Hi
    can you please provide us with a function (we use a child theme) that removes the featured image from single posts?

    background of our question:
    We need to put copyright-credits under the images but this can only be done if we use the “normal” WP-function and not the featured image
    But we need the featured image for the category view.

    So we need a solution to remove the featured image from single-posts

    kind regards dany

    #627325

    Hi Flugtraeumer!

    Please edit your posts and check “Don’t display image on single post” – http://i.imgur.com/T4yn4OW.png

    Best regards,
    Yigit

    #627340

    Hi Yigit
    This is not a propriete way for 723 posts

    #627346

    Hi!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .single .big-preview.single-big {
        display: none!important;
    }

    Best regards,
    Yigit

    #627467

    Hi Yigit
    Sorry, but this causes problems with Google and is not in accordance with their guidelines.
    There must be some PHP solutions for that
    Can you please provide us with one of them?

    regards danny

    #627488

    Hi!

    As it is display: none and not visibility: hidden there is no issue with google, trust us on that.
    it is the same thing as like removing the php lines.

    Use the code Yigit suggested, it is 100% safe.

    Thanks a lot for your time and patience let us know if we could do anything else for you

    Best regards,
    Basilis

    #627556

    This is a workaround , not a solution.
    Please provide us with a PHP solution.
    Thank you
    Danny

    #627820

    Hey!

    Please go to enfold/includes/helper-post-format.php and find

    if(is_single(get_the_ID()) && get_post_meta( $current_post['the_id'], '_avia_hide_featured_image', true ) )

    and change it to

    if(is_single(get_the_ID()) && get_post_meta( $current_post['the_id'] ) )

    Cheers!
    Yigit

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.