Last post and excerpts in different positions (3 posts)

  1. warezBoy
    Posted 11 years ago #

    Hi there.
    I hope the title was clear, i'm spanish guy, so write in english for help it's a bit dificult, but here ya go.
    I made my layout, three nice columns. In one of them i want to put just the last post, and another column, i want to put the links and excerpts of the 5 latest post. I search the forum, but the solutions don't apply if u wanna put the code in 'different places' ( ie here, or here, or even here ;))
    Second thing. I made another site with two columns, one column for wp posts, and the other for static content, how i do this?. I read something about the 'include function', can work that?, how i use that function? How can i include any kind of static content in the index.php?
    I hope that questions were clear enough ;)
    Any kind of help will be very appreciated; the more pragmatic, the best.

  2. Mark (podz)
    Support Maven
    Posted 11 years ago #

    Recent posts ?
    That can be used to place a list of the last 'x' number of posts into the sidebar.
    Two Columns.
    Is this page actually going to be the blog page ?
    If so, just get the CSS to create the sized columns you want.
    If not, then you will need the following:
    On the page - which must be a .php page - you must have the lines at the top that index.php has, specifically
    /* Don't remove this line. */

    If this new page is going to be outside of the directory in which WP is, the path in that require line must point to it.
    That will then allow you to put The Loop on that page where you want it to appear: http://wiki.wordpress.org/TheLoop
    Doing that will mean that as you post a new entry on your blog, it will also appear on that new page.

  3. Anonymous
    Posted 11 years ago #

    Thanks, thanks thanks ...X)
    I'm gonna try Podz.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.