Forums

Want to Create a Horizontal Archive/Recent Posts area in Footer (3 posts)

  1. cklittle28
    Member
    Posted 6 months ago #

    I'm trying to create an area in the footer that has a horizontal archive of the past five days worth of links and a thumbnail at the top. This is what I'm generally going for (at bottom of page): http://www.designsponge.com.

    My website is aloveofgood.com.

    I've tried adding plug-ins/widgets but can't find anything I'm looking for.
    I can handle css fine, but otherwise, am looking for very detailed direction. :)

  2. wspencer
    Member
    Posted 5 months ago #

    The short answer is......

    You'll need a custom loop run inside of your footer. Use the WP_Query function to do this. More info can be found here....

    http://codex.wordpress.org/Class_Reference/WP_Query

    Set up your custom loop to pull only the 5 most recent posts. The link above will show you how to set up those arguments inside of the new WP_Query() function.

    Inside of that loop you'll want to have the post information formatted into a new div and floated to the left (so they all line up properly). You can have it display in a div with a certain ID that you define the styles for in your css stylesheet.

    It's asking a lot to explain it without actually doing it all for you, so hopefully that puts you on the right track :)

  3. cklittle28
    Member
    Posted 5 months ago #

    Think this one might require someone to sit down with me! Thank you for your help, though.

Reply

You must log in to post.

About this Topic