WordPress.org

Ready to get started?Download WordPress

Forums

Featured Image not showing ??? (9 posts)

  1. rfresh
    Member
    Posted 1 year ago #

    I'm using 3.5 and created a new page and added a featured image, 520x346, but it doesn't display on the page! What else do I need to do?

    Thanks...

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    http://codex.wordpress.org/Post_Thumbnails

    you might need to edit page.php to include the code for a post thumbnail;

    <?php the_post_thumbnail(); ?>

    what theme are you using?
    does the theme's demo show the featured image being used in pages?

  3. rfresh
    Member
    Posted 1 year ago #

    I'm using the default theme Twenty Eleven. The thumbnail image is fine, it's the larger image that doesn't display on the top half of the page when viewing that page. What displays is that default sea image where the sea washes up against the somewhat flat rocks.

  4. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    for a featured image to show in the header, it needs to be at least 1000px wide (unless you have changed the header image dimensions in functions.php)

  5. rfresh
    Member
    Posted 1 year ago #

    I looked in that file...I don't know where I need to make the modification???

  6. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    around line 120:

    'width' => apply_filters( 'twentyeleven_header_image_width', 1000 ),
    		'height' => apply_filters( 'twentyeleven_header_image_height', 288 ),
  7. rfresh
    Member
    Posted 1 year ago #

    There is no line that like in my functions.php file. Is that the correct file?

  8. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    I was referring to the code of Twenty Eleven 1.5 - what version of the theme do you have?

    if you like, you could paste the full code of functions.php of your theme into a pastebin and post the link to it here - http://codex.wordpress.org/Forum_Welcome#Posting_Code

  9. rfresh
    Member
    Posted 1 year ago #

    I see. That worked fine. I got to the correct file.

    Thanks...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.