problem with image in front page
-
i have install a new template in my wordpress blog.the problem i have is that when i make a new post,the image i put inside the post is showing in the read more page and not in the front. i want to show the image before someone cklicks the read more option.in the front page is shows only the author and some words from the post but nothing from image. i think it something with the template . imust edit something…i give you the main index show you can guide me what i must do.these is it:
<?php get_header(); ?>
<div class=”wpn_left”>
<?php if (have_posts()) : ?><!– Featured Posts // –>
<span class=”wpn_heading”>Featured Posts</span>
<div class=”wpn_featured wpn_expandable”>
<!–
START Featured Content Slideshow// Configuration can be found under WordPress Settings > Featured Content Gallery
Gallery Width in Pixels: 586
Gallery Height in Pixels: 209
Text Overlay Height in Pixels: 35
Gallery Border Color (#hex or color name): #FFF
Gallery Background Color (#hex or color name): #666
Slide Display Duration (milliseconds): 5000
Slide Fade Duration (milliseconds): 200
Carousel Button Name: Thumbnails
Slide Transition Type – Choose your slide transition effect: Slide Left with Fade//
–>
<?php include (ABSPATH . ‘/wp-content/plugins/featured-content-gallery/gallery.php’); ?>
<!–
END Featured Content Slideshow
–>
</div>
<!– // Featured Posts –><!– News & Updates // –>
<span class=”wpn_heading”>News & Updates</span>
<div class=”wpn_expandable”>
<ul class=”wpn_news”>
<?php while (have_posts()) : the_post(); ?>
<li <?php post_class() ?> id=”post-<?php the_ID(); ?>”>
” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?>
<div class=”wpn_info”>
<?php echo get_avatar( get_the_author_email(), ’40’ ); ?>
by <?php the_author_posts_link() ?>
Posted <?php the_time(‘F jS, Y \a\t g:i a’) ?>
</div>
<?php
$thumb = get_post_meta($post->ID, “thumbnail”, true);
if($thumb)
echo ‘<img class=”wpn_thumb” src=”‘.$thumb.'” alt=”” />’;
?>
<div class=”wpn_post”>
<?php wpn_content_limit(get_the_content(),500); ?>
</div>
<div class=”wpn_bottom”>
#comments”><?php comments_number(__(‘0’), __(‘1’), __(‘%’)); ?> Comments
“>Continue Reading
</div><?php endwhile; ?>
<!– Page Navigation –>
<?php if(function_exists(‘wp_pagenavi’)) { wp_pagenavi(); } ?>
</div>
<!– 404 Error –>
<?php else : include (‘editable/404/404-error.php’); endif; ?>
<div class=”wpn_clear”></div>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>the theme is Elements 1.01. if it isn something with the theme and is something with some plugin,please tell me!
- The topic ‘problem with image in front page’ is closed to new replies.