Hello my site is http://www.hornyshares.com/ i have 2 post 1 have just text and 2nd have post but problem is image show in http://www.hornyshares.com/?p=3 but post image not show in category and index page plz help me
When I click the post "under" I see an image, I don't know if you had just corrected it. Usually the "Cache" of your template needs to be given permission to 0777. Just to note that your URL is not SEO set. To do this you need to go to Setting>Permalink> then below to Custom Structure, apply this code.
Open index.php file of the template you are using and copy all codes from index.php Open category.php file of the template, delete all codes and paste codes copied from index.php . You are done.
<?php get_header(); ?> <?php global $options; foreach ($options as $value) {if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }} ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <?php if (in_category($theme_featured_category)) continue; ?> <div class="post-date"> <span class="day"><?php the_time('j'); ?></span> <span class="month"><?php the_time('M y'); ?></span> </div> <div class="post" id="post-<?php the_ID(); ?>"> <h2 class="entry-title"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2> <div class="entry-content"> <?php if (get_option('theme_truncate_option') == 'Disabled') : ?> <?php the_content(''); ?> <?php else : ?> <?php global $more; $more = 0; ?> <?php echo truncate($theme_post_excerpt, ' ... '); ?> <?php endif; ?> </div> <div class="commentleft"></div><div class="commentbg"><?php comments_popup_link( __( '0 Comments', 'blank' ), __( '1 Comment', 'blank' ), __( '% Comments', 'blank' ), 'post-comments-a', __('-', 'blank')); ?></div><div class="commentright"></div> <div class="spacer"></div> <div class="catleft"></div><div class="catbg"><?php the_category(', '); ?></div><div class="catright"></div> <div class="spacer"></div> <div class="readmore"><a href="<?php the_permalink() ?>/#more" title="<?php the_title(); ?>"> Read More</a></div> </div><!-- end .post --> <div class="hr"></div> <?php endwhile; ?> <div class="paged-navigation"> <?php $prevlink = '<span class="prev-link">« Previous Page</span>'; $nextlink = '<span class="next-link">Next Page »</span>'; ?> <?php posts_nav_link(' ',$prevlink,$nextlink); ?> </div> <?php else : ?> <h2><?php _e('This page has no posts on it, please try another or return to the homepage.', 'blank'); ?></h2> <div class="search-404"> <?php _e('Do you want to search for it?', 'blank'); ?><br /> <?php include (TEMPLATEPATH . "/searchform.php"); ?> </div> <?php endif; ?> <?php get_sidebar(); ?> <?php get_footer(); ?>