The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Dual Loops? Having trouble with categories hackery (3 posts)

  1. Jeff Blaine
    Posted 9 years ago #

    Hi all,

    I've tried helping myself for the last 2 hours or so, but am not making any real progress.

    1. SUCCESS: I am trying to display 1 category of posts only in my main content area. I got this working via the Codex examples. I am doing this just before The Loop:

       if (is_home()) {

    2. FAILURE: I am trying to display 1 (different than above) category of posts in my sidebar (it's big). I have tried adding another "Loop" to my sidebar.php, but strange things are happening. What is the proper way to do this?

  2. Jeff Blaine
    Posted 9 years ago #

    Holy cow this forum moves fast.

    I figured this out, and it was esoteric and related to my specific code, so explaining the solution is not really worth much.

  3. vkaryl
    Posted 9 years ago #

    Well, it might be.... you never know. But in any case, please mark this resolved, thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.