Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter esdali

    (@esdali)

    Thank you, thank you, thank you!

    Thread Starter esdali

    (@esdali)

    Okay, I’d hate to spam my own thread, but I have some updated information.

    I was playing around with the code a little more, and I realized that what was happening was that wordpress was putting articles that didn’t meet the requirement of the query in the code, but with no link. As in:

    <a href="https://linkremoved.com/infinite-wisdom/article/whatever/" title="Text Removed">
          		      	</a>

    The weird thing is, if I change posts_per_page to two, then only one thumbnail appears, and the other becomes a silent link, even if it does meet the query_post requirement.

    Why does this happen?

    Thread Starter esdali

    (@esdali)

    David,
    Here’s the updated code. Unfortunately, the problem did not go away. I actually discovered that it’s a site-wide problem, so I’ve posted my index.php.

    This conspiracy runs all the way to the top, I’m afraid. Something weird happens when I change the posts_per_page number. You see, I only have two posts with thumbnails currently, and they display ONLY when posts_per_page is set to 5 or more. When I put in 4, only one thumbnail is displayed, and the other thumbnail post is linked to in the third div. None of the other links, that are supposed to be displayed there, aren’t there. The smaller the posts_per_page number in the second div, the more links show up in the third. It’s an inverse relationship that I can’t figure out.

    Any insights?

Viewing 3 replies - 1 through 3 (of 3 total)