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 do i get comments to show up on homepage for each post??? (http://forum.bytesforall.com/showthread.php?t=1270)

drewjones Apr 15, 2009 03:23 AM

how do i get comments to show up on homepage for each post???
 
ive been trying to figure out this theme...

i like the functions of it alot...

Client of mine has requested to have the comments show on the homepage as a continued conversation...

ive downloaded and activated AWP...doesn't work on this theme...

Ive searched through the code and post/page links in the footer section....i cant copy paste php code in there...otherwise it'd be working...

i want the exact layout like on the single post page for comments...

post
(if there are comments, comments)
comment form

any help is appreciated...

drewjones Apr 15, 2009 04:06 AM

I figured it out...

in the index.php, find the lines

<?php // Load Comments template (on single post pages, and "Page" pages, if set on options page)
if ( is_single() OR ( is_page() && $bfa_ata['comments_on_pages'] == "Yes") ) {

and replace it with

<?php // Load Comments template (on single post pages, and "Page" pages, if set on options page)
if ( is_home() OR ( is_single() OR ( is_page() && $bfa_ata['comments_on_pages'] == "Yes") ) ) {

This is my reference

http://codex.wordpress.org/Conditional_Tags

Flynn Apr 15, 2009 07:04 PM

Quote:

Originally Posted by drewjones (Post 4968)
Ive searched through the code and post/page links in the footer section....i cant copy paste php code in there...otherwise it'd be working...

In the newest Atahualpa version, PHP code should work, too, in Theme Options -> Footer -> Footer: Content, if you meant that


All times are GMT -6. The time now is 01:09 AM.

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