• I’ve just set up the default WordPress installation with TwentyTwelve as the theme, and am attempting to set a featured image for a page. It appears to upload (the file is in the appropriate upload dir) and it appears in the bottom right of the page I am attempting to add it to and all seems well – but when I actually view the page – no featured image.

    Should this work right out of the box or do I need to set something?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Twenty Twelve does not use the featured image in the output of static pages.

    if you want to show the featured image anywhere on a static page, you will need to edit page.php and/or content-page.php in a child theme of Twenty Twelve; http://codex.wordpress.org/Child_Themes

    http://codex.wordpress.org/Post_Thumbnails

    Trying to use featured images in pages. Went to link listed “http://codex.wordpress.org/Post_Thumbnails” but confused as to what exact code to use and where to put it. Anyone have a simple explantion?

    what codes to use should be clear after reviewing the above posted Codex chapter http://codex.wordpress.org/Post_Thumbnails

    do you want to show the featured image in the static pages in the same location as in single posts?

    then remove the conditional code from this section in content-page.php in your child theme:

    <?php if ( ! is_page_template( 'page-templates/front-page.php' ) ) : ?>
    			<?php the_post_thumbnail(); ?>
    			<?php endif; ?>

    so you are left with:

    <?php the_post_thumbnail(); ?>

    I want to use the featured image as the banner image in certain pages. So if someone clicks on a nav button to a page that page will show a different image than the home page. Does your explanation above apply to my situation? I am rather new to using wordpress, but did make a site using twenty ten theme and the featured image worked like a charm. I like the responsive design of twenty twelve and hope I can use the featured image option with it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘TwentyTwelve – featured image out of the box?’ is closed to new replies.