How to hide featured image in Post

Discussion in 'WordPress' started by ShinMusashi44, Mar 17, 2012.

  1. #1
    I'm using this WP theme wparchive at .com /renegate/ and I want to hide the featured image from showing in the post. You have to set featured images to show in the slide show at top, but I don't want them in my post. Just show at top. Any way to do this? I know I'll have to edit the theme, but have no idea what to change.
     
    ShinMusashi44, Mar 17, 2012 IP
  2. ShinoRex

    ShinoRex Well-Known Member

    Messages:
    227
    Likes Received:
    9
    Best Answers:
    2
    Trophy Points:
    148
    #2
    If you are providing your single.php,content.php then I can check... thanks..
     
    ShinoRex, Mar 18, 2012 IP
  3. ShinMusashi44

    ShinMusashi44 Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I guess you asking for me to post this?

    <?php get_header(); ?>
    <div class="span-24" id="contentwrap">
    <?php get_sidebars('left'); ?>
    <div class="span-14">
    <div id="content">
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
    <h2 class="title"><?php the_title(); ?></h2>
    <div class="postdate"><img src="<?php bloginfo('template_url'); ?>/images/date.png" /> <?php the_time('F jS, Y') ?> <img src="<?php bloginfo('template_url'); ?>/images/user.png" /> <?php the_author() ?> <?php if (current_user_can('edit_post', $post->ID)) { ?> <img src="<?php bloginfo('template_url'); ?>/images/edit.png" /> <?php edit_post_link('Edit', '', ''); } ?></div>

    <div class="entry">
    <?php if ( function_exists("has_post_thumbnail") && has_post_thumbnail() ) { the_post_thumbnail(array(300,225), array("class" => "alignleft post_thumbnail")); } ?>
    <?php the_content('Read the rest of this entry &raquo;'); ?>
    <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
    </div>
    <div class="postmeta"><img src="<?php bloginfo('template_url'); ?>/images/folder.png" /> Posted in <?php the_category(', ') ?> <?php if(get_the_tags()) { ?> <img src="<?php bloginfo('template_url'); ?>/images/tag.png" /> <?php the_tags('Tags: ', ', '); } ?></div>

    <div class="navigation clearfix">
    <div class="alignleft"><?php previous_post_link('&laquo; %link') ?></div>
    <div class="alignright"><?php next_post_link('%link &raquo;') ?></div>
    </div>

    <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    // Both Comments and Pings are open ?>
    You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site.

    <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    // Only Pings are Open ?>
    Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site.

    <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    // Comments are open, Pings are not ?>
    You can skip to the end and leave a response. Pinging is currently not allowed.

    <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    // Neither Comments, nor Pings are open ?>
    Both comments and pings are currently closed.

    <?php } edit_post_link('Edit this entry','','.'); ?>
    </div><!--/post-<?php the_ID(); ?>-->

    <?php comments_template(); ?>

    <?php endwhile; ?>

    <?php endif; ?>
    </div>
    </div>
    <?php get_sidebars('right'); ?>
    </div>
    <?php get_footer(); ?>
     
    Last edited: Mar 18, 2012
    ShinMusashi44, Mar 18, 2012 IP
  4. ShinoRex

    ShinoRex Well-Known Member

    Messages:
    227
    Likes Received:
    9
    Best Answers:
    2
    Trophy Points:
    148
    #4
    Hello friend....

    Please check after removing
    <?php if ( function_exists("has_post_thumbnail") && has_post_thumbnail() ) { the_post_thumbnail(array(300,225), array("class" => "alignleft post_thumbnail")); } ?>
    <?php the_content('Read the rest of this entry &raquo;'); ?>
    from your code... Thanks..
     
    ShinoRex, Mar 18, 2012 IP