ThemeShaper Forums » Thematic

[closed]

AutoFocus Theme-Don't Show Featured Image in Post

(5 posts)
  • Started 4 years ago by deadeyedick23
  • Latest reply from Farbkreis
  • This topic is not resolved
  1. I'm having a bit of an issue with the AutoFocus theme which is a child theme of Thematic. Autofocus has an alternate frontpage design where instead of what is shown now on my site (deadeyedesignny.com) it's 4 columns of 171px x 171px. The problem is the image used in the thumbnail is what is set as the featured image which also appears at the top of each individual post. So if I want to put in a 171x171 thumbnail it just stick that same image in the middle of the top of the page for the post.

    Is there a way to just not show the featured image at all on the individual posts?

    Thanks!

    Posted 4 years ago #
  2. The featured image you set, but you don't need to include it in the body of your post. It will still appear at the top and as the thumbnail for the post.

    Posted 4 years ago #
  3. Yeah, I'm sorry I should have been more clear. I meant is it possible to not show the featured image at the top of the post? To just have it show as the thumbnail and that's all?

    Posted 4 years ago #
  4. i haven't installed autofocus, but after looking at the files...

    thematic-functions.php
    lines 202-216

    <div class="post-image-container">
    			<?php if ($data[ 'copyright_value' ]) {  ?>
    				<span class="photo-credit"><?php echo $data[ 'copyright_value' ]; ?></span>
    			<?php } else { ?>
    				<?php autofocus_credit(); ?>
    			<?php } ?>
    
    			<?php if ( has_post_thumbnail() ) { ?>
    					<?php the_post_thumbnail('single-post-thumbnail'); ?>
    
    			<?php } else { ?>
    				<?php the_post_image('afsingle'); ?>
    
    			<?php } ?>
    			</div>

    the div 'post-image-container' contains the call to
    the_post_thumbnail('single-post-thumbnail')
    which displays the thumbnail at the top.

    ammended code inside this div will get you on the right track.

    hope this helps.

    Posted 4 years ago #
  5. I have the same problem, but I can't find the mentioned code above, nowhere in the whole "functions.php" file.

    But I have this file only under that name, there is no file named "thematic-functions.php" in the autofocus theme folder...

    I'd appreciate help =)

    Posted 3 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.