WordPress.org

Forums

[resolved] How to show the latest posts on homepage with custom css (3 posts)

  1. Hardii
    Member
    Posted 1 year ago #

    Hello, im making a new theme for a site and i wanted to ask how to "echo" the latest 6 posts of my blog on my homepage with custom css?
    I want to divide the news to two columns (3 and 3 on each column) and i wanna show only the featured image of the post and the title.
    I tried to search on google and the codex but i couldn't find a way to divide it to two columns. So i would like the instructions to do so.

    Thanks in advance.

    [bump moderated]

  2. alchymyth
    Forum Moderator
    Posted 1 year ago #

    what is the current code of your index template?

    for a possible approach review my post at http://www.transformationpowertools.com/wordpress/posts-in-two-columns-twenty-twelve
    this can be adapted to all kinds of themes...

  3. Hardii
    Member
    Posted 1 year ago #

    Thanks alchymyth. It helped me to do what i needed.
    Resolved.

Topic Closed

This topic has been closed to new replies.

About this Topic