Remove the post image

The code snippets below should be pasted into your child theme's functions.php file.

Here is how you can remove the post image.

// Remove the post image.
beans_remove_action( 'beans_post_image' );

Here is how you can remove the post image except for single view.

// Remove the post image except for single view.
add_action( 'wp', 'beans_child_remove_index_post_image' );

function example_remove_index_post_image() {
 
  if ( !is_singular() ) {
   beans_remove_action( 'beans_post_image' );
  }
   
}