[Theme: TwentyFourteen] blog feed thumbnail image issue
-
Hi everyone –
I have site using a child theme for Twenty Fourteen. I have a blog feed on the bottom of the home page using code below. The issue is that the blog feed images were being cropped just fine and now the new posts have the image slightly larger in height and I can’t figure out why. The site is bayareacbtcenter.com but I have removed the blog post with the issue but added a link to the image here – in the image you can see that the middle blog has a larger image for some reason. https://bayareacbtcenter.com/other-inventories/procrastination-questionnaire/
<div class="blogfeed_cont"> <div class="container"> <div class="blogfeed_left"> <h2>Blog feed</h2> <ul class="feed_list"> <?php query_posts('category_name=blog&posts_per_page=9&order=ASC'); while(have_posts()): the_post(); ?> <li> <div> <a>" class="blog_img"> <img src="<?php echo wp_get_attachment_url( get_post_thumbnail_id($post->ID, 'full') );?>" alt="img" /> </a> <h3><a>"><?php echo get_the_title(); ?></a></h3> <p><?php echo substr(get_the_excerpt(), 0,130); ?>....</p> <a>">Read more</a> </div> </li> <?php endwhile; ?> <i class="clear_0">?</i> </div>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Theme: TwentyFourteen] blog feed thumbnail image issue’ is closed to new replies.