Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi there, featured images in Coraline are displayed the header area, so they must be a minimum size so they display correctly.

    Could you please check that your featured images are all at least 990px wide by 180px high?

    Thread Starter drials2

    (@drials2)

    no the featured images are not that dimension, however, i was hoping that i could specify the size I wanted? Is that possible? 990px X 180px is a strange size for a fashion blog, I want to change it. Is the code in the header.php or custum header.php? Thanks for your reply. Check out chefandsteward.com that’s what I want it to look like (they are using the coraline theme).

    Thread Starter drials2

    (@drials2)

    Hi, I see what you mean but I want the featured image to show on the main page where all the posts are located. I uploaded a test post with a featured image at 990px X 180px and yes, you are correct, the featured image shows up in the header of the “posts” page but still nothing on the home screen, I would like the featured image on the posts page as well as the home page for each post.

    Thanks for the additional information. Coraline doesn’t display featured images for each post on the homepage, but it can be done with some editing of loop.php in your child theme folder. Are you comfortable editing PHP/HTML theme files? You would need to insert a featured image to the loop.php file.

    The code to display a featured image for each post would be something like this:

    <?php
       if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail
       the_post_thumbnail('medium');
       }
    ?>

    You’d add this code where you would like the featured image displayed.

    More about the featured image (aka post thumbnail) function.

    You can also use a different size than medium if you’d like the featured images smaller or larger.

    You could try adding it after line 143:

    <div class="entry-content">

    You’ll then need to add corresponding CSS to your child theme’s style.css file to style the featured image as you like.

    Good luck!

    I have the feature image on the website, however, when I try to print out the
    web page, the Image is missing from the printout.
    any suggestion to overcome this problemt
    thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Featured Image not showing?’ is closed to new replies.