WordPress.org

Support

Support » Themes and Templates » Featured image issue

Featured image issue

  • Hi

    I am using a modified version of the workoholics theme and my problem is that whenever I insert a featured image for my article, the same picture is inserted also inside the article. What I would like to do is to remove that option, or at least to be able to do some modifications. The insertion is kinda random and the article doesn’t look that good.

    Anny suggestions?

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi

    @esmi

    Forum Moderator

    Replace the current featured image code with the_post_thumbnail.

    This doesn’t really solve my problem (or I don’t understand). I checked the code, and found the thumbnail for the glider (which look ok) but could find in the code thumbnail insertion in the post / article.

    This is the code … but just glider

    <div class="glidecontent">
    
    <div class="glidmeta">
    <div class="glidim">
    <?php the_post_thumbnail(array(350,350)); ?>
    </div>
     <h2><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
     <?php the_excerpt(); ?>
      <div class="gmore">
     <a href="<?php the_permalink() ?>">Read more</a>
     </div>
    
    </div>
    
    </div>

    Thanks 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Featured image issue’ is closed to new replies.