• Hello,
    I am trying to do my weblog page so that there is the main weblog, and at the right-hand side, there’s a “Currently Reading” area with book reviews. This area will only show posts placed into a specific category. Is there a way to do this?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter wynderlon

    (@wynderlon)

    Thanks, I figured it out. 🙂

    However, currently, if I click on “more” from the sidebar, it shows the main post (like I want), but it also repeats the whole post in the side bar.

    Is there a way so that clicking “more” will just make the main post appear?

    Thread Starter wynderlon

    (@wynderlon)

    The only way I could think of maybe making this happen was IFRAMES, but I really don’t want to use IFRAMES. Does anyone have any other suggestions?

    In the side bar, did you use the_content? or the_excerpt?

    Here’s how I did it on my site (where I have site news)…
    http://pastebin.com/348015

    the first thing it does is check is_home so that it only prints on the main page. Then is queries the last post from the Site News category and displays the_excerpt. The title of the post becomes a clickable link to get to the rest of the post.

    Tg

    You may well find the answer at http://codex.wordpress.org/The_Loop using multiple loops – one loop for your sidebar and another for the content column. See “Multiple Loops in Action”. This Codex page is well worth a close read.

    Thread Starter wynderlon

    (@wynderlon)

    I’m sorry, I seem unable to see the pastebin content. It just comes up blank. 🙁 Can you post it again?

    pastebin seems to have a time-limit of a couple of days any more, you really have to look when the post with the addy goes up….

    Thread Starter wynderlon

    (@wynderlon)

    As I realize now.

    But, never mind. I figured it out by experimenting with excerpt. 🙂 Thank you very much for suggesting excerpt instead.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Categories in different places on one page?’ is closed to new replies.