Okay, so I have this code:
<?php
global $blog_id;
if ($blog_id == 1) {
// switch to sitewide tags blog, #16
switch_to_blog(16); }
?>
<div id="topContent" class="threeCol">
<div class="leftCol">
<?php
global $blog_id;
extract(switchBlogVars($blog_id));
// Main feature loop
query_posts('cat=' . $featuredcategory . '&posts_per_page=1');
while (have_posts()) : the_post();
?>
<div id="mainImage"><?php if (has_post_thumbnail()) { the_post_thumbnail(array(381,198)); } else { ?><img src="http://foo.com/wp-content/themes/foo-home/images/roanoke-thumbs/roanoke.php" alt="Roanoke, Virginia" width="381" height="198" border="0" /><?php } ?></div>
and the conditional if(has_post_thumbnail) is returning false even though when I click through to the individual post, the_post_thumbnail appears where I have it placed (almost identical code on the single.php page) what is going wrong here?
Basically I'm using the site-wide tags plugin and then on blog 1 (the root blog) pulling in content from blog 16 which is the "tags" blog.
Like I said, the thumbnail appears on the blog where the article originates, but not when I switch_to_blog(16).
You can also view the code here with syntax highlighting: http://wordpress.pastebin.com/sCs3EQGe
Thanks!
@mosquitohawk