Title: Post in multiple sections
Last modified: August 19, 2016

---

# Post in multiple sections

 *  [maruan](https://wordpress.org/support/users/maruan/)
 * (@maruan)
 * [17 years ago](https://wordpress.org/support/topic/post-in-multiple-sections/)
 * Hello,
 * I currently have a blog on the blogger platform and i would like to migrate to
   wp(got the domain and hosting).
 * My questio is whether, within a single blog, one can have multiple dynamic sections(
   pages) to which he could post various post.
 * For example, when i publish them, i would like to have post A in section “general”,
   post B in section “personal”, post C in “general” etc….and also have links to
   this section on a front general page that would show the last or the lateste 
   posts from all section (eventually in separate columns).
 * Is there a chance to do this in wp? And how? Documentation?
 * Please excuse me for my lack of technical language…and i really hope to receive
   some help on this topic.
 * Best regards,
 * Maruan

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [viceng](https://wordpress.org/support/users/viceng/)
 * (@viceng)
 * [17 years ago](https://wordpress.org/support/topic/post-in-multiple-sections/#post-1099355)
 * Yes, what you are referring to is a page of posts…the documentation is
 * [http://codex.wordpress.org/Pages](http://codex.wordpress.org/Pages)
 * What you would do is to assign categories to the posts, and then display the 
   posts on a page for that specific category. You could then create links to these
   pages.
 * Hope this helps.
 *  Thread Starter [maruan](https://wordpress.org/support/users/maruan/)
 * (@maruan)
 * [17 years ago](https://wordpress.org/support/topic/post-in-multiple-sections/#post-1099483)
 * [@viceng](https://wordpress.org/support/users/viceng/)
    Thank you for your asnwer!
 * While I was able after reading it to understand the whole idea and upload the
   pageofposts.php file in a certain theme, I got stuck again.
 * I was expecting an option of some sorts to help me build a blog page containing
   only the posts from a certain category, but ll I got is a supplementary option
   calle “pageofposts” in the dropdown list of attributes within the page creation
   menu.
 * And now my problem is: effectively, how do I set up that page to only disply 
   posts of a certain category? Is there an option I failed to see? Do i have to
   edit something manually? I really don’t know…so I’m stuck again!
 *  [viceng](https://wordpress.org/support/users/viceng/)
 * (@viceng)
 * [17 years ago](https://wordpress.org/support/topic/post-in-multiple-sections/#post-1099572)
 * in the pageof posts example, there is code that looks like
    if (is_page(’21’)){
   $cat = array(12); } elseif ( is_page(’16’) ) { $cat = array(32); } elseif ( is_page(’
   28’) ) { $cat = array(17); } else { $cat = ”; } this code says if the page id
   is 21 then display category 12, if the page id is 16 then category 32, page id
   28 then category 17..
 * you should edit your page.php file or better yet, create a page template with
   the modifications
 * good luck…stay with it!!!
 *  Thread Starter [maruan](https://wordpress.org/support/users/maruan/)
 * (@maruan)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/post-in-multiple-sections/#post-1099669)
 * indeed it worked!
 * many thanks for your help!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Post in multiple sections’ is closed to new replies.

## Tags

 * [multiple sections](https://wordpress.org/support/topic-tag/multiple-sections/)
 * [posts](https://wordpress.org/support/topic-tag/posts/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [maruan](https://wordpress.org/support/users/maruan/)
 * Last activity: [16 years, 11 months ago](https://wordpress.org/support/topic/post-in-multiple-sections/#post-1099669)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
