• Hi i am having trouble getting the featured image to only show on the front page right next to the title of post. I want it to only show there, right now its showing there and in the post. Here is my code to my single.php if that helps`<?php $options = get_option(‘mh_options’); ?>
    <?php get_header(); ?>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <div class=”wrapper clearfix”>
    <div class=”content <?php mh_content_class(); ?>”><?php
    mh_before_post_content();
    get_template_part(‘content’, get_post_format());
    mh_after_post_content();
    endwhile;
    comments_template();
    endif; ?>
    </div>
    <?php get_sidebar(); ?>
    </div>
    <?php get_footer(); ?>’

    site is https://www.koitesocial.com

Viewing 3 replies - 1 through 3 (of 3 total)
  • You need to ask your theme provider this question. My guess is that removing:

    <?php mh_before_post_content();

    likely does more than just add the post_thumbnail.

    Note: This is a fairly new theme (added to the repository on 2014-08-14, 28K downloads as of today) as compared to say twentyeleven (2.3M downloads).

    Please go inside your theme content.php and comment this <?php the_post_thumbnail(); ?>

    I suggest not editing a Parent theme and still suggest that you ask theme dev. The Post Thumb is output at line 13 of content.php but not using the default <?php the_post_thumbnail(); ?>, but instead <?php mh_featured_image(); ?>

    Simply reading the theme files shows that much, but then discovering the rest, well, ask the theme provider..

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How do I stop the featured image showing in post as well’ is closed to new replies.