natecross
Forum Replies Created
Viewing 2 replies - 1 through 2 (of 2 total)
-
Forum: Fixing WordPress
In reply to: Images and ExcerptDoc 4 this is the code for my index.php I am not sure where to put the code you supplied, Thank you for your help I am still learning.
<?php get_header(); ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <div class="post-header"> <div class="date"> <?php the_time('M j') ?> <span><?php the_time('y') ?></span></div> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <div class="author">by <?php the_author() ?></div> </div><!--end post header--> <div class="entry clear"> <?php the_excerpt(); ?> <?php edit_post_link('Edit This','<p>','</p>'); ?> </div><!--end entry--> <div class="post-footer"> <div class="comments"><?php comments_popup_link('Leave a comment', '1 Comment', '% Comments'); ?></div> </div><!--end post footer--> </div><!--end post--> <?php endwhile; /* rewind or continue if all posts have been fetched */ ?> <div class="navigation index"> <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div> <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div> </div><!--end navigation--> <?php else : ?> <?php endif; ?> </div><!--end content--> <?php get_sidebar(); ?> <?php get_footer(); ?>Forum: Fixing WordPress
In reply to: Images and ExcerptDoc4 where go I insert that code?
Viewing 2 replies - 1 through 2 (of 2 total)