Home Forums Free Themes WEN Business How to remove thumnail image when view post?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #337
    josep321
    Participant

    Hi,

    When we view our home page, we will see the post with the thumbnail image 150x150px. It’s great ! But when we click to the posts, we open to view the content of post. We’ll see the thumbnail image on the top of the post again.

    So how to remove the thumbnail image in the post content ?

    #338
    josep321
    Participant

    Well, can I do this from child theme approach ?

    #340
    wensolutions
    Keymaster

    Yes it’s possible. In your child theme’s functions.php just paste the following code
    that removes the image from your post single page.

    function unhook_wen_business_single_image() {
        remove_action('wen_business_single_image','wen_business_add_image_in_single_display',10);
    
    }
    add_action('init','unhook_wen_business_single_image');

    Thanks

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