phpchick Posted December 23, 2010 Share Posted December 23, 2010 Here is the page http://fuzzyip.com/bnnsecret/?p=8#comment-2 I basically want to move the comments section down below where the three columns are towards the bottom. What I've tried doing is copying this <?php comments_template(); ?> and pasting it at the bottom of the source. But when I do that, the entire comments section disappears. I'm not exactly sure why, all I want to do is move it from above the three columns to below it. <?php get_header(); ?> <div id="content" class="container"> <div class="column_main"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <h2><?php the_category(', '); ?></h2> <h1><?php the_title(); ?></h1> <h2><i>Written by <b><?php the_author_posts_link(); ?></b><br> <?php the_time('l, F j, Y G:i'); ?></i></h2> <?php the_tags( '<div class="meta">Tags: ', ', ', '</div>'); ?> <div class="hr_top"></div> <div id="entry"> <?php the_content(); ?> <?php edit_post_link('edit this page', '<p>', '</p>'); ?></div> <br /> <br /> <?php comments_template(); ?> <?php endwhile; else: ?> <h1>Sorry, no posts matched your criteria.</h1> <?php endif; ?> </div> <?php get_sidebar(); ?> <div class="hr_top"></div> <div class="column_left_b"> <!-- The 1st of the 3 columns with the featured articles at the bottom --> <?php query_posts('showposts=1&cat=1'); ?> <!-- Edit the cat= part to the number of the desired category (check the category IDs in your WordPress system), and this will show the 1st of the chosen category --> <?php while (have_posts()) : the_post(); ?> <h2><?php the_category(', '); ?></h2> <h1><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1> <?php endwhile; ?> <!-- END --> <?php query_posts('showposts=8&offset=1&cat=1'); ?> <!-- Show the 8 most recent articles in the already chosen category, first one not included --> <h2>More In <?php single_cat_title(); ?></h2> <ul> <?php while (have_posts()) : the_post(); ?> <li><span class="title"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></span> <br /> </li> <?php endwhile; ?> </ul> <br /> <p class="link"><?php the_category(' '); ?></p> </div> <!-- END --> <div class="column_center_b"> <!-- The 2nd of the 3 columns with the featured articles at the bottom --> <?php query_posts('showposts=1&cat=1'); ?> <!-- Edit the cat= part to the number of the desired category (check the category IDs in your WordPress system), and this will show the 1st of the chosen category --> <?php while (have_posts()) : the_post(); ?> <h2><?php the_category(', '); ?></h2> <h1><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1> <?php endwhile; ?> <?php query_posts('showposts=8&offset=1&cat=1'); ?> <!-- Show the 8 most recent articles in the already chosen category, first one not included --> <h2>More In <?php single_cat_title(); ?></h2> <ul> <?php while (have_posts()) : the_post(); ?> <li><span class="title"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></span> <br /> </li> <?php endwhile; ?> </ul> <br /> <p class="link"><?php the_category(' '); ?></p> </div> <!-- END --> <div class="column_right"> <!-- The 3rd of the 3 columns with the featured articles at the bottom --> <?php query_posts('showposts=1&cat=1'); ?> <!-- Edit the cat= part to the number of the desired category (check the category IDs in your WordPress system), and this will show the 1st of the chosen category --> <?php while (have_posts()) : the_post(); ?> <h2><?php the_category(', '); ?></h2> <h1><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1> <?php endwhile; ?> <?php query_posts('showposts=8&offset=1&cat=1'); ?> <!-- Show the 8 most recent articles in the already chosen category, first one not included --> <h2>More In <?php single_cat_title(); ?></h2> <ul> <?php while (have_posts()) : the_post(); ?> <li><span class="title"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></span> <br /> </li> <?php endwhile; ?> </ul> <br /> <p class="link"><?php the_category(' '); ?></p> </div> <!-- END --> <div class="hr_bottom"></div> </div> <?php get_footer(); ?> Link to comment https://forums.phpfreaks.com/topic/222531-trying-to-move-comments-further-down-the-page-wordpress/ Share on other sites More sharing options...
phpchick Posted December 23, 2010 Author Share Posted December 23, 2010 I have tried moving that comments snippet into all sorts of configurations, but all result in the disappearance of the box altogether <p class="link"><?php the_category(' '); ?></p> </div> <!-- END --> <div class="hr_bottom"></div> </div><?php comments_template(); ?> <?php get_footer(); ?> <p class="link"><?php the_category(' '); ?></p> </div> <!-- END --> <div class="hr_bottom"></div> <?php comments_template(); ?></div> <?php get_footer(); ?> <p class="link"><?php the_category(' '); ?></p> </div> <!-- END --> <div class="hr_bottom"><?php comments_template(); ?></div> </div> <?php get_footer(); ?> <p class="link"><?php the_category(' '); ?></p> </div> <!-- END --> <?php comments_template(); ?> <div class="hr_bottom"></div> </div> <?php get_footer(); ?> <p class="link"><?php the_category(' '); ?></p> <?php comments_template(); ?> </div> <!-- END --> <div class="hr_bottom"></div> </div> <?php get_footer(); ?> Link to comment https://forums.phpfreaks.com/topic/222531-trying-to-move-comments-further-down-the-page-wordpress/#findComment-1150928 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.