Forums

[resolved] How to show the last 3 blog posts horizontal? (14 posts)

  1. heidekeal
    Member
    Posted 1 year ago #

    How to show the last 3 blog posts horizontal on the homepage of the site.I build now a content div whit 3 diva right middle en left. But maybe I am wrong and is it a lot easier.

    I hope someone can help me or now where I can find it

  2. vtxyzzy
    Member
    Posted 1 year ago #

    I will try to help, but I need some more information.

    Are you using a free theme? If so, please post a link to its download site so I can see the code.

    By 'last 3 blog posts' do you mean the latest 3 by date, or the last 3 on the page?

    Do you show other posts on the page, but not horizontally?

  3. Jonas Grumby
    Member
    Posted 1 year ago #

    You would have to create template for the page and use query_posts to call in the posts.

  4. heidekeal
    Member
    Posted 1 year ago #

    I am a designer and don t know php very well but I build this template from the beginning . You can find it on http://www.Heideman-media.nl/tharsei. I believe it don t work in IE.

    It would be great if enyone can tell me a tag who I can place in every div. I want the last three posts by date build in it.

  5. heidekeal
    Member
    Posted 1 year ago #

    Forgot

    I want alsso the picture From the post above it

  6. Jonas Grumby
    Member
    Posted 1 year ago #

    Unfortunately it would be harder to talk you through it than it would be to just do it. You may have to hire somebody. http://jobs.wordpress.net

  7. vtxyzzy
    Member
    Posted 1 year ago #

    You have 3 errors that keep the page from showing in IE:

    1. There is a blank line and tabs output before the DOCTYPE line.
    2. There are two head tags.
    3. There is a blank space in the closing title tag.

    Correct those and the page should display, although it will still have errors.

  8. heidekeal
    Member
    Posted 1 year ago #

    Thanx vtxyzzy i work on that.

    but still have the problem whit my horizontal posts. Is there otherwise an example for download so i can look. I can t find one..

    And how i show the last three posts normaly vertical if horizontal is an problem?

  9. vtxyzzy
    Member
    Posted 1 year ago #

    Here is a link to sample code showing how to align posts in a row.

  10. heidekeal
    Member
    Posted 1 year ago #

    thanx for the link it was very usefull!! i have my last three posts show horizontal:)

    i now try to find a way to show also the image of the post! if you have therefore suggestions?

  11. vtxyzzy
    Member
    Posted 1 year ago #

    Are you using excerpts for the posts? If so, this article should help.

  12. heidekeal
    Member
    Posted 1 year ago #

    I did it! http://www.Heideman-media.nl/tharsei i have my horizontal posts with image!!

    Thanx for the help!

  13. mvanboordt
    Member
    Posted 4 months ago #

    Great that it worked but can you please share?

    I'm qurious how you got the images working

    Thnx

  14. mvanboordt
    Member
    Posted 4 months ago #

    Never mind got it working

    FYI:

    [code moderated - please use the pastebin]

    PAY ATTENTION:
    YOU HAVE TO INSTALL THE PLUGIN TO:
    SIMPLE IMAGE GRABBER

Topic Closed

This topic has been closed to new replies.

About this Topic