Support » Themes and Templates » [Theme: Twenty Twelve] Featured Image below Title and in RSS Feeds

  • Resolved B.J. Keeton


    Hey folks. I just started up a new blog at, and I’m having one major issue with my CSS. I love the new Twenty Twelve theme and the auto-sizing of Featured Image.

    But for my site, I want the Featured Image to show up UNDER the title of the post. I was also told today that the Featured Image isn’t showing up for folks who subscribe via Feeds. I want to use this feature as the primary way to introduce posts, but if they’re not showing up in feeds, I won’t be able to do that.

    I can’t seem to find the CSS code to move around to get it under the title and show in feeds. Does anyone know how to do that?

    Thanks a ton,


Viewing 9 replies - 1 through 9 (of 9 total)
  • You’re better off creating a child theme and actually reordering the elements. Presently, your featured image is being output before the title.

    <header class="entry-header">
    <img width="624" height="351" src="" class="attachment-post-thumbnail wp-post-image" alt="CameraZOOM-20121228111423265">
    <h1 class="entry-title">
    <a href="" title="Permalink to Starting Your Fitness Quest, Part 1: Fitness vs. Weight Loss" rel="bookmark">Starting Your Fitness Quest, Part 1: Fitness vs. Weight Loss</a>
    										<div class="comments-link">
    <a href="" title="Comment on Starting Your Fitness Quest, Part 1: Fitness vs. Weight Loss"><span class="leave-reply">Leave a reply</span></a>				</div><!-- .comments-link -->

    While it’s possible to reorder with CSS, it’s generally a bad idea.

    As far as including the featured image in the RSS feed, give this plugin a shot: Featured Image in RSS Feed

    First of all, thanks!

    Second, I’m going to sound like an idiot, but even after blogging for a few years, I have no idea how to do a child theme. Would that mess up any amount of customization and output I’ve already done for the site? Rather than use CSS, is it possible to just reorder them in the theme I’m using, then?

    Yes, definitely. The only benefit of a child theme is that your edits won’t be destroyed if the main theme has an update. So go ahead and edit to your heart’s content – I’d just suggest editing the theme title at the top of style.css to avoid an inadvertent update and loss of all edits.

    I haven’t used Twenty Twelve much, but I’m inclined to say you want to edit content.php here

    <header class="entry-header">
    	<?php the_post_thumbnail(); ?>
    	<?php if ( is_single() ) : ?>
    	    <h1 class="entry-title"><?php the_title(); ?></h1>
    	<?php else : ?>
    	    <h1 class="entry-title">
    	      <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
    	<?php endif; // is_single() ?>

    So go ahead and edit to your heart’s content

    It’s really very strongly recommended that you not edit theme files directly — you’ll lose all your changes when WP is updated and it’s very important to have a clean copy of the default theme for troubleshooting purposes.

    How extensive have your changes been?

    Not too bad, WPyogi. Just a few tweaks here and there.

    How do I install a child theme, then? I’m not sure I get the tutorial I looked at. I feel like an idiot. I thought I understood this stuff!

    Okay, it really will be much better to have a child theme set up — so you won’t have bigger problems down the road. When it’s the default theme, it’s particularly important to be able to update WP — because some updates have security fixes. It’s really not that hard to create a child theme — just take it one step at a time per this page:

    Post back if you get stuck or run into trouble.

    Or you could download a twentytwelve child theme already set to go — see this thread:

    Oh, and once you get that set up, you’ll want to move or redo any changes to it and then replace your current twentytwelve with a clean unedited copy.

    I was wondering if there is a way to swap position between entry title and featured image using CSS. I have a child theme already created and also looking for a solution to this, but I don’t really want to mess up with the theme files.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Theme: Twenty Twelve] Featured Image below Title and in RSS Feeds’ is closed to new replies.