Featured Image Error
-
Hey guys. I need help with a theme, and I’m not really sure why the featured image on the home page is not showing up right. When I look above the news article, I can see that the featured image is trying to appear because I can see the image name that I gave the featured image behind the news posts. (it’s almost like the news post is overlaying on top of the featured image name txt). It’s really weird. I uninstalled and removed all of the additional items on my side bar because I thought that may have something to do with the error, but it doesn’t.
Can anyone give me any suggestions?
everything appears normal. so I have no idea.
<!Doctype html>
<head>
<title><?php bloginfo(‘name’); ?>
<?php if ( is_single() ) { ?>
| » <?php wp_title(); ?>
<?php } ?>
</title>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″>
</head>
<body bgcolor=”#FFFFFF” leftmargin=”0″ topmargin=”0″ marginwidth=”0″ marginheight=”0″><div class=”wrapper”><?php get_header(); ?></div>
<div id=”content”><div id=”side”><?php get_sidebar(); ?></div><div id=”content-post”>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php if ( has_post_thumbnail() ) {
the_post_thumbnail(‘large’);
} else { ?>
<img src=”<?php bloginfo(‘template_directory’); ?>/images/default-featured.jpg” alt=”<?php the_title(); ?>” />
<?php } ?><div id=”content-post-title”>
<center><div id=”content-post-date”>
<div id=”content-post-date-wrapper”><div id=”content-post-date-month”><?php the_time(‘M’) ?></div><?php the_time(‘j’) ?>
</div></div></center>
- The topic ‘Featured Image Error’ is closed to new replies.