WordPress.org

Ready to get started?Download WordPress

Forums

Featured image issue (3 posts)

  1. Calin
    Member
    Posted 3 years ago #

    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?

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Replace the current featured image code with the_post_thumbnail.

  3. Calin
    Member
    Posted 3 years ago #

    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 :)

Topic Closed

This topic has been closed to new replies.

About this Topic