WordPress.org

Support

Support » How-To and Troubleshooting » Multiple posts in different pages

Multiple posts in different pages

  • hshenoy
    Member

    @hshenoy

    I have been maintaining a blog and a livejournal, and in a fit of enlightenment, I have purchased server space and started running wordpress on it.

    I’ve got many things I need to highlight on the wordpress blog under different pages.

    For instance, the ‘Music’ section needs to have a few posts and some other sections need to have more than one post.

    However, I don’t see how I am able to do this on wordpress and hence I’d be grateful if anyone could help me out in this regard!

    thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Evita
    Member

    @evita

    DonĀ“t use pages. Pages are for static content like “about me” or something else.
    You have to create categories (and read the codex).

    hshenoy
    Member

    @hshenoy

    Uh well, I tried dabbling with categories. However, what I am looking for is some way in which the bar on top of the website can contain links that I can then use to redirect users to other posts exclusively under those sections.

    Just think of it as a huge folder with different sets of notes within it. Each link represents one specific area under which different notes are then displayed.

    What if I wanted two or three posts under ‘About’, for example?

    Samuel Wood (Otto)
    WordPress.org Tech Dude

    @otto42

    However, what I am looking for is some way in which the bar on top of the website can contain links that I can then use to redirect users to other posts exclusively under those sections.

    See, this is where I think most people get confused. Many themes are made to show Pages on that top bar, and so people think that Pages are therefore the only way to do it.

    Evita was correct. If you want to group posts together in bundles, then you want to use categories and that’s all there is to it. Doing thing the right way makes things simpler.

    BUT, you also want to show them on that top bar. The correct answer is to change the top bar to show Categories instead of Pages. See the difference in thinking there?

    Doing this is generally simple. You’re going to find the code in your theme that generates the top bar. It might be in the header.php file, or it could be elsewhere. Regardless, it’s going to have a call to wp_list_pages. By modifying that or adding a call to wp_list_categories there, you can put categories in the top bar.

    HOW you do that is something I can’t tell you, because it depends a lot on your theme. But the basic principle is the same.

    What if I only want some of the Categories to appear on the top bar?

    Otto42 is there any Plugin which can help in putting categories @ the top ? Especially for version 2.6.2

    I found wp_list_categories but couldn’t able to find wp_list_pages. Any help ?

    What if I only want some of the Categories to appear on the top bar?

    use exclude=1,2,5,10 to remove the unwanted categories.

    For those of you, that have no clue what any of these people are talking about. GOTO THIS ARTICLE!

    http://moshublog.com/2007/07/26/pages-and-categories/

    AlL you have to do is follow his steps. He tells you not to replace the code with new code, he simply adds a segment of code underneath of the pages code, which enables you to add a category to your page

    he even shows you demo pages!

    feel free to check out mine, i made a LOST page on my blog that is set up as a category, when everything else is set up as a page.

    http://www.mymorningstory.com

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Multiple posts in different pages’ is closed to new replies.