• Here is my looping code in index.php

    https://pastebin.com/Y583dXvX

    Let’s say I have 3 categories
    apple,orange,pear

    50 post in apple and orange
    30 post in orange and pear

    So the new post in index.php should be 80 post, it display correctly 80post, but it didn’t show 30 post from orange and pear, instead 80 post only from apple and orange. So there’s a lot of duplicated post 50+30 from apple and orange. I don’t know how this happen.

    • This topic was modified 4 years, 8 months ago by t-p. Reason: Moved to Fixing WordPress from Developing with WordPress
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘My WordPress Loop strange’ is closed to new replies.