Hi,
This must be easy but I cant see the solution, I changed something while editing single, index, or archive.php and now when looking at a post it repeats over and over on single.php...any ideas how to fix that?
TIA!
Hi,
This must be easy but I cant see the solution, I changed something while editing single, index, or archive.php and now when looking at a post it repeats over and over on single.php...any ideas how to fix that?
TIA!
Please paste the code that your single Template is using at http://wordpress.pastebin.ca/ and report the link back here.
this is my single.php code:
http://wordpress.pastebin.ca/764647
I'm going to post my index.php as well since its happening there as well.
here's index.php:
http://wordpress.pastebin.ca/764648
so the problem now is that posts repeat on index.php and single.php, but archive.php is fine.
thanks for your help!
I am going to guess it's this causing the posts to appear twice:
<?php related_posts(); ?>
but I don't see that in the index.php.
Got a link to see the actual site?
no I can't let you see it, it's on a secure test server.
why would you suspect <?php related_posts(); ?> ?
I figured I got the loop out of wack somehow, but I have no idea how...
related posts isn't it, that works properly. the problem is the *exact same* post is repeating.
Before arguing - did you try to test it without that piece of code?
nice community feel you create Moshu - who is arguing?
and yes I did.
Well I can't see anything wrong then. How about posting a screen shot somewhere showing the duplication?
i found the problem, the category visibilty plugin. thanks for trying to help.
This topic has been closed to new replies.