• Resolved ndaword2003

    (@ndaword2003)


    I get a picture I selected and a WP-event thumbnail for the detail page. How do I remove this? Also, how do i remove the right side-bar. I have been reading through everything and can’t seem to figure it out. Thanks

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi,
    By default WordPress, themes are adding thumbnail on a single page using this filter
    post_thumbnail_html

    It looks like your theme is adding the author box from his end. So I would request you to ask your theme author to provide settings to disable the image injection on every single post or provide a filter to disable on specific post type.

    Also try this if works for you in your functions.php file,

    function wordpress_hide_feature_image( $html, $post_id, $post_image_id ) {
     return is_single() ? '' : $html;
    }
    // add the filter
    add_filter( 'post_thumbnail_html', 'wordpress_hide_feature_image', 10, 3);

    Best Regards,
    Priya

Viewing 1 replies (of 1 total)
  • The topic ‘Event Detail showing 2 pictures’ is closed to new replies.