WordPress.org

Ready to get started?Download WordPress

Forums

Split home in two column for divide post of author (3 posts)

  1. placenet
    Member
    Posted 2 years ago #

    Hello to all,

    i want to split the homepage in two column.In the first user can read only my post(of the administrator) and in the second the post of other registered user.How i can do this?

  2. david.bailey
    Member
    Posted 2 years ago #

    You might need to write a custom theme template in order to do so -

    One way you might do this is to create a template file: http://codex.wordpress.org/Theme_Development

    Inside this template run a loop using custom query to display only posts from administrator:
    http://codex.wordpress.org/Class_Reference/WP_Query

    In the second column, do the same but substitute author for a different author or no author in particular.

    That's about as far detailed that I can get without writing it for you. Look through the codex and see some of the templates in the theme that you're using for this project. Hope that helps.

  3. placenet
    Member
    Posted 2 years ago #

    I know that maybe i ask too much but can you write the code that i have to use for display only the post of administrator and the code for display the post of all other user?Because i have no idea of how i can do this or what code i have to write.Or if you can show me an example..thank you sow much for your help!

Topic Closed

This topic has been closed to new replies.

About this Topic