• I’m working on a very heavily modified unfinished theme for my school (Swarthmore College)’s daily newspaper.

    On the pages for the single posts, I’m running into a small problem.

    Basically, the page is set up like this:

    HEADER (post title, excerpt, author, date)
    SIDEBAR (below right of the header, with headlines from 3 other categories.)
    BODY (text of the post)

    The problem is, to get the sidebar headlines, I need to call the other categories. So when I call the_content, it places the wrong story content.

    Is there any easy way to fix this? I don’t want to absolutely position the sidebar, because the header block can change in height.

    Also note, this page appears to be rather broken in IE. I’ll be fixing that eventually—I’ve got until late August to finish this entirely. Also, this is my first WordPress theme ever (I’ve fiddled before, but nothing this serious) so the code is incredibly messy at times. I basically learned how to use CSS solely to create this. Bear with me.

    https://arador.org/gazette/2007/05/11/haverfords-sharpless-and-our-sharples/ is an example, but it is happening for all of the stories.

    If you have any other comments on the theme not related to this question, I’d love to hear them. Email me: mskorpe1 at swarthmore dot edu

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Nesting have_posts()’ is closed to new replies.