WordPress.org

Ready to get started?Download WordPress

Forums

Comments (2 posts)

  1. oritzio
    Member
    Posted 1 year ago #

    Hey =)

    I'm working on my blog from a blank template, so far it's going good:
    http://letshoe.com/postsdesign.jpg

    I'm trying to add the comments section below all the posts
    I couldn't find the right code, what is the best solution?

    That's the code:

    <?php get_header(); ?>
    
                 <!-- Posts Begin Here -->
    		     <?php while (have_posts()) : the_post();?>
                     <div class="quotesgrid">
                         <div class="date"><?php the_date(M . " " . d); ?></div>
                         <div class="quotes">
                             <h2><?php the_title(); ?></h2>
                             <?php the_content(); ?>
                             <?php echo wp_insert_comment(); ?>
                         </div><!-- quotes -->
                     </div><!-- quotesgrid -->
                 <?php endwhile; ?>
    
    			<!-- Paginate Links -->
    			<div id="paginate">
    			<?php
    				global $wp_query;
    
    				$big = 999999999; // need an unlikely integer
    
    				echo paginate_links( array(
    					'base' => str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ),
    					'format' => '?paged=%#%',
    					'current' => max( 1, get_query_var('paged') ),
    					'total' => $wp_query->max_num_pages
    				) );
    			?>
                </div>
    
    <?php get_footer(); ?>
  2. Pioneer Valley Web Design
    Member
    Posted 1 year ago #

    Why do we link to a jpg to show a well built custom site with issues?

Topic Closed

This topic has been closed to new replies.

About this Topic