beejoy
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How do you get comments to display under index page postHi Stvwlf
I am trying to do the same thing and I have done what you suggest above and placed the code from the single.php
<div class=”comment”></div> <!– Closes Comments –><?php comments_template(); ?>I have placed this code above before (<?php endwhile; ?>) and between (<?php endwhile; ?>) and this (<?php else : ?>)and also after (<?php else : ?>) and before this code (<?php endif; ?>) and no change to display of comments on index page.
I am using the Studiopress theme what am I doing wrong
would appreciate your helpCheers
BJ
Forum: Fixing WordPress
In reply to: Put comments to display under poststhanks nazcar
I am sorry I am a new user at php
I am using the studiopress theme and i have pasted the code to the single post page single.php here, It does not seem to put the comments under the post on the post page.
<?php get_header(); ?><div id=”contentwrapper”><div id=”content”><div class=”adsense_top”><?php include (TEMPLATEPATH . ‘/adsense_top.php’); ?></div><?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?><div class=”post”><h2 class=”postTitle”>“><?php the_title(); ?></h2><div class=”postMeta”><span class=”date”><?php the_time(‘M.d, Y’) ?></span> in<span class=”filed”><?php the_category(‘, ‘); ?></span></div><div class=”postContent”><?php the_content(‘(Read the rest of this entry…)’); ?></div><div class=”postMeta”><span class=”tags”><?php the_tags(‘Tags: ‘, ‘, ‘, ”); ?></span></div></div> <!– Closes Post –><div class=”comment”></div> <!– Closes Comments –><?php comments_template(); ?><?php endwhile; ?><?php else : ?><div class=”post”><h2 class=”center”>Not Found</h2><p class=”center”>Sorry, but you are looking for something that isn’t here.</p></div> <!– Closes Post –><?php endif; ?></div></div> <!– Closes Content –><?php get_sidebar(); ?><div class=”cleared”></div></div> <!– Closes Main –><div class=”bottomcurvewhite”></div><?php get_footer(); ?>
Sorry about this but I am very grateful
Cheers
bj
Forum: Fixing WordPress
In reply to: Put comments to display under postsThanks nazcar
but under what line of code does it go
Cheers
BJForum: Fixing WordPress
In reply to: Put comments to display under postsHi
Is there an answer to this I would like to have my comments displayed under the posts and to be seen along with the posts.
Can anyone help
Cheers
BJ