WordPress.org

Support

Support » Themes and Templates » Split home in two column for divide post of author

Split home in two column for divide post of author

  • 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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Split home in two column for divide post of author’ is closed to new replies.
Skip to toolbar