Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   Same comments repeat - home page. (http://forum.bytesforall.com/showthread.php?t=10472)

Eric Oct 19, 2010 09:18 AM

Same comments repeat - home page.
 
I modified index.php as described in a forum post to display post comments and comment form on home page. Works great, but now the same comments appear for each post, over and over. A previous Juggledad comment said you could fix this by making a copy of index.php and naming it home.php. in our theme - still didn't work to display the relevant comments for each post. Is there any update on what I can to make this work?:)

juggledad Oct 20, 2010 07:37 AM

without knowing what you did in the modification...no there is no way to tell you what you might have done.

Index.php is run every-time you go to the site, go to a new page etc it is the main processing item so if you make a mistake in it, it will probably carry over to everything (and possibly into the backend)

The issue about creating a home.php is when you are using a page template for the front page. then you need to make a copy of it and call it home.php

Eric Oct 21, 2010 01:56 PM

The home page (index.php) modification I made was from the Flynn comment below (link):



http://forum.bytesforall.com/showthread.php?t=2423

Comment title and count for post is correct, but the actual comments are the same for all posts. (Looks like the loop picks up comments for the first post and then repeats them.) I also made a new page (copied index.php) and names it home.php. This new page does exactly the same thing.

juggledad Oct 21, 2010 02:24 PM

I would go back and make sure you followed the directions exactly. I just tested and it works fine. If you made all the changed exactly, try disabling all plugins to see if they are causing a conflict


All times are GMT -6. The time now is 11:05 AM.

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