Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Chetan Chauhan

    (@chetanchauhan)

    Hello tomas85, the featured image before the review text appears because your theme is set to display featured image on single posts.

    So, to get rid of it you will have to edit your theme file probably single.php removing call to the_post_thumbnail() function. However, only do this if you are comfortable editing your theme, otherwise you may contact your theme author.

    Thanks

    Thread Starter tomas85

    (@tomas85)

    ok, I am not unfortunately master of the code but I think I found the part of the code in content.single.php that deals with featured image. Can you please help me what to do? Here is the part of the code:

    * Display the Featured Thumbnail
    */
    echo layers_post_featured_media( array( 'postid' => get_the_ID(), 'wrap_class' => 'thumbnail push-bottom', 'size' => 'large' ) );
    
    if ( '' != get_the_content() ) { ?>
    	<?php do_action('layers_before_single_content'); ?>
    
    	<?php if( 'template-blank.php' != get_page_template_slug() ) { ?>
    		<div class="story">
    	<?php } ?>
    
    	<?php /**
    	* Display the Content
    	*/
    	the_content(); ?>
    
    	<?php /**
    Plugin Author Chetan Chauhan

    (@chetanchauhan)

    Since, you are using layers theme, you can follow the instructions here to hide the featured image. However, instead of .single .thumbnail{display: none;} as mentioned in the doc, you can use .single-review .thumbnail{display: none;} so that featured media is hidden from only reviews.

    Thread Starter tomas85

    (@tomas85)

    now it works! thank you very much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to delete a feature image from the text’ is closed to new replies.