Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

Same comments repeat - home page.


  #1  
Old Oct 19, 2010, 10: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, 08:37 AM
juggledad's Avatar
juggledad
 
23,765 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, 02: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 02:58 PM.
  #4  
Old Oct 21, 2010, 03:24 PM
juggledad's Avatar
juggledad
 
23,765 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



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 12:57 PM
background7.png (no repeat but more like 90% width) igabriela Header configuration & styling 1 Aug 12, 2010 05:20 AM
[SOLVED] Sidebar NO repeat background Ber|Art Sidebars & Widgets 1 Jun 21, 2010 04:00 AM
Adding comments to the 'home page' manasi Comments, trackbacks & pings 6 Oct 29, 2009 02:16 PM
Comments on Home Page Steve_T Comments, trackbacks & pings 3 Jul 28, 2009 02:29 PM


All times are GMT -6. The time now is 12:08 PM.


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