Cross-Browser Coding Problem – Posts Disappear in IE?
-
I helped a friend design this blog and after we finished up everything looked pretty good. Go figure we had to take a look at it in IE. For some reason it takes the top posts down in IE but leaves them up in FF and Chrome :S
Here is the Default Index code:
<div id="post-top"> <div class="breadcrumb"> <?php if(function_exists('bcn_display')) { bcn_display(); } else { ?> <?php if( is_tag() ) { ?> You are currently viewing: <em>Posts Tagged "<?php single_tag_title(); ?>"</em> <?php } elseif (is_day()) { ?> You are currently viewing: <em>Posts made in <?php the_time('F jS, Y'); ?></em> <?php } elseif (is_month()) { ?> You are currently viewing: <em>Posts made in <?php the_time('F, Y'); ?></em> <?php } elseif (is_year()) { ?> You are currently viewing: <em>Posts made in <?php the_time('Y'); ?></em> <?php } elseif (is_search()) { ?> Search results for: <em><?php the_search_query() ?></em> <?php } ?> <?php }; ?> </div> <!-- end breadcrumb --> </div> <!-- end post-top --> <div id="main-area-wrap"> <div id="wrapper"> <div id="main" class="noborder"> <?php $i = 0; if (have_posts()) : while (have_posts()) : the_post(); $i++; if (get_option('enews_grab_image') == 'Enable') { $thumb = catch_that_image(); } else { $thumb = get_post_meta($post->ID, 'Thumbnail', $single = true); } ?> <div class="mainpost-wrap<?php if (($i%2)<>0) echo (" fst") ?>"> <h2><a href="<?php the_permalink() ?>" title="Permanent Link to <?php the_title(); ?>"><?php the_title2('', '...', true, '37'); ?></a></h2> <p><?php truncate_post(119); ?></p> <a href="<?php the_permalink() ?>" title="Permanent Link to <?php the_title(); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php echo $thumb; ?>&h=114&w=291&zc=1" alt="<?php echo(the_title()); ?>" width="291px" height="114px" /></a> <div class="info"><em>posted on</em>: <?php the_time(get_option('enews_date_format')) ?> | <em>author</em>: <?php echo get_the_author(); ?></div> </div> <!-- end mainpost-wrap--> <?php endwhile; ?> <?php if( function_exists('wp_pagenavi') ) { wp_pagenavi(); } else { ?> <p class="pagination"> <span id="prev-posts"><?php next_posts_link('« Previous Entries') ?></span> <span id="next-posts"><?php previous_posts_link('Next Entries »') ?></span> </p> <?php } ?> <?php else : ?> <!--If no results are found--> <div id="post-content"> <h1>No Results Found</h1> <p>The page you requested could not be found. Try refining your search, or use the navigation above to locate the post.</p> <!--End if no results are found--> </div> <?php endif; ?> </div> <!-- end main -->
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Cross-Browser Coding Problem – Posts Disappear in IE?’ is closed to new replies.