Upgraded to 3.5 the evening of 20121213 on http://oceanbeachbulletin.com, thought it was cool, then made a new post and discovered that new posts will not display a thumbnail on the front page of my local news org’s site. Everything worked great until the 3.5 upgrade, and I’m bummed the upgrade created this problem because it otherwise still seems cool.
I’m using WP 3.5 with the Mimbo 3.0 theme, hosted on Laughing Squid.
I’ve tried putting in a few placeholder posts, and thumbnails will not show up in either lead/sticky posts or in additional posts. Thumbnails for posts made *before* 3.5 work just fine, exactly as they used to, but anything posted *after* 3.5 was installed will not show thumbnails even if I specifically designate one of the photos as a featured image. This problem occurs in both FF and Chrome, and in the Dolphin mobile browser on Android. Have not tried other browsers, but I don’t think that’s the problem.
So far I’ve:
-Read the 3.5 master list (nothing relevant)
-Read the new features codex article (nothing relevant)
-Looked for threads addressing my problem (none that I can find)
-Flushed the caches (no effect)
-Deactivated all plugins (no effect)
-Switched to TwentyEleven (Ah, now we’re getting somewhere. See below.)
So, TwentyEleven (and Ten and Twelve) did display the post thumb on a new post on the front page, along with the thumbs for all pre-3.5 posts. So it seems the matter is related to the theme, though I hope this doesn’t mean no one here will help me — because everything was peachy before the updgrade, but janked after it, so it clearly is directly related to the upgrade.
Here’s what I think my theme *was* doing that isn’t working now:
`<div id=”lead” class=”clearfloat”>
<a href=”<?php the_permalink() ?>” rel=”bookmark” title=”<?php the_title(); ?>”>
<?php echo get_post_image (get_the_id(), ”, ”, ” .get_bloginfo(‘template_url’) .’/scripts/timthumb.php?zc=1&w=260&h=230&src=’); ?></a>
<h2><a href=”<?php the_permalink() ?>” rel=”bookmark” title=”<?php the_title(); ?>”>
<?php the_title(); ?></a> <span class=”commentcount”> (<?php comments_popup_link(‘0’, ‘1’, ‘%’); ?>)</span></h2>
<p class=”date”><?php the_time(‘n/d/y’); ?> • </p>
<?php the_excerpt(); ?>
</div><!–END LEAD/STICKY POST–>`
More specifically, it seems like the problem would have to be in this part:
<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"> <?php echo get_post_image (get_the_id(), '', '', '' .get_bloginfo('template_url') .'/scripts/timthumb.php?zc=1&w=260&h=230&src='); ?></a>
I’m not completely sure how this bit of code works, but I definitely can’t understand why it would stop working with the 3.5 upgrade.
When responding to this post, please keep in mind that I have an elementary understanding of HTML but otherwise you’re probably going to have to use plain English for me to understand what you’re talking about.
Thanks in advance for your time and thought.
- The topic ‘3.5 broke post thumbnails for all new posts’ is closed to new replies.