Support » Fixing WordPress » Advanced Layout : Is this possible?

  • I’ve been modding up WordPress like crazy to get my site finished. My layout looks like this:

    What i want to do is, in the four blocks under “Lastest Articles & Interviews”, be able to pull the most recent from my articles and interviews category, but have them seperated into one post excerpt per column.

    (Example: Call recent posts (in this case, 4, one for each column, and spread them across all four divs. So maybe, the first block would have a title, and a very small excerpt under it. In the next block, it would continue showing the next most recent from category “x”)

    I don’t know if it’s possible to do this, but if it is, can someone please explain.

Viewing 15 replies - 1 through 15 (of 23 total)
  • I just want to say: OMFG! That is sweet man! And especially congrats on it, because that’s a pretty dang good modification of the Default theme. =^) Awesome work!


    I have probably seen similar solutions but let me clarify a few things before I attempt to direct you toward some solutions posted here or in other places.

    The top. Will that “News” part always be populated exclusively from the “news’ category?
    Middle. Under “Lastest Articles & Interviews” will you have only posts from certain categories (e.g. articles and interviews) or from more categories? (And I assume the news items should be excluded, too – right?)

    @moshu: Yeah exactly. The new will only come from my “Homepage News” category, while Articles and Interviews will come from their corresponding catergories, and any other posts from other catergories would be excluded. If you can provide me with how to do this, that’d be great.

    @spencerp: Thanks for the comments 🙂

    I like the “advanced” design type.
    But there’s something weird here
    when I refresh sometimes there’s a background graphic near the top that interrputs the headline & side menu.

    Probably the “multiple loops” is the answer for your question. Eventually, if needed, combined with query_posts.
    So, basically, the first Loop would call posts only from cat “news” and the second one only from cats interview & articles.
    Then what exactly is shown (title, excerpt etc.) is up to you, and you just have to format that div to display those 4 posts aligned one next to the other.

    Eventually, you can wait a bit, maybe more knowledgable coders will jump in 🙂

    Ah, getting old… forgetting what I wanted to add.
    If you want a total separation by categories – you can also take a look at this thread:
    though that one doesn’t address the different layout.

    Thanks moshu. I’ll look into it.

    Dgold, what browser are you using so I can try to sort it out.

    very well designed website,

    If it will teach how to build it – I am registering now 🙂

    @talgalil – Yeah, I’m going to do an article on customizing WP in the near future.

    As of right now, I’ve almost got it.
    I want the four boxes to pull posts the 2 most recent posts from Articles & Interviews like this:

    Article | Interview | Article | Interview

    Using the Multiple Loops, I used “Multiple Loops in Action” to put together the columns. It calls the 1st two columns fine, but on the last two, when it calls the 2nd most recent post for Article and Interviews, it’s pulling from the Homepage news category.

    How code i change

    <?php if (have_posts()) : while (have_posts()) : the_post();
    if( $post->ID == $do_not_duplicate ) continue; update_post_caches($posts); ?>
    <!-- Do stuff... -->
    <?php endwhile; endif; ?>

    to pull one from Articles, and one from Interviews without repeating the first post?

    Thanks! 🙂

    Unfortunately, I am not a coder… just a kind of “traffic dispatcher” in the middle of a traffic jam 🙂
    Maybe you can get some ideas from this thread:

    Thanks for the links guys. I still can’t figure this out. Figures, cuz its just about the last thing I have to do besides some more css tweaks.

    If any coder knows a solution, please let me know.
    Regards! 🙂

    Still hoping for some help 🙂

    @astereo — sidenote on the problem I saw on the Single article page… It’s not happening now,maybe you fixed. I used Firefox 1.5. It was the colorful footer graphic jumping up to the top after Refresh. Not happening now.

    Hi astereo,

    If my tutorial didn’t help, feel free to leave a comment there and I’ll see if I can put my tutorial into your context.


Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Advanced Layout : Is this possible?’ is closed to new replies.