Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Comments, trackbacks & pings (http://forum.bytesforall.com/forumdisplay.php?f=19)
-   -   How to Display Comments on Category Pages Only (http://forum.bytesforall.com/showthread.php?t=4227)

fylraen Nov 5, 2009 09:37 AM

How to Display Comments on Category Pages Only
 
Hello!

I am trying to enable full display of comments on category display pages only. Right now the site is set up so that when you visit a category page, you can click the individual post to see comments, or click on the link to the comments in the footer, but I would like to set it so that comments are displayed in full instead.

Thank you for any advice. Probably easy to do, but I don't know how. I did try searching these forums before posting and did not find an answer, so I apologize if it's been asked before.

juggledad Nov 5, 2009 12:00 PM

try this http://forum.bytesforall.com/showthr...t=comment+form

fylraen Nov 5, 2009 12:48 PM

Hi juggledad,

Thanks for the reply. I had seen that post - it unfortunately updates all multi-post pages. I only want to update category pages. Is there some PHP conditional statement that I can use to make those changes apply only to category pages?

Dan

juggledad Nov 5, 2009 01:06 PM

well you could put a conditional around the
<?php bfa_post_bodycopy('<div class="post-bodycopy clearfix">','</div>'); ?>
in 'The LOOP' to prevent it from displaying on category pages

fylraen Nov 5, 2009 02:04 PM

I actually don't know how to write PHP... Was hoping you could give a more explicit example :o

To reiterate: I want to display comments ONLY on category pages.

I'm sorry to be useless, just unable to do this on my own. :(


All times are GMT -6. The time now is 01:26 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.