Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Same comments repeat - home page.


  #1  
Old Oct 19, 2010, 09:18 AM
Eric's Avatar
Eric
 
6 posts · Oct 2010
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?
  #2  
Old Oct 20, 2010, 07:37 AM
juggledad's Avatar
juggledad
 
23,667 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Oct 21, 2010, 01:56 PM
Eric's Avatar
Eric
 
6 posts · Oct 2010
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.

Last edited by Eric; Oct 21, 2010 at 01:58 PM.
  #4  
Old Oct 21, 2010, 02:24 PM
juggledad's Avatar
juggledad
 
23,667 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Tags
comments repeating, home page comments

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] trying to add facebook comments to home page to each entry noskov Center area post/pages 4 Oct 13, 2010 11:57 AM
background7.png (no repeat but more like 90% width) igabriela Header configuration & styling 1 Aug 12, 2010 04:20 AM
[SOLVED] Sidebar NO repeat background Ber|Art Sidebars & Widgets 1 Jun 21, 2010 03:00 AM
Adding comments to the 'home page' manasi Comments, trackbacks & pings 6 Oct 29, 2009 01:16 PM
Comments on Home Page Steve_T Comments, trackbacks & pings 3 Jul 28, 2009 01:29 PM


All times are GMT -6. The time now is 05:39 PM.


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