• Resolved chaseadams

    (@chaseadams)


    Is it in any way possible to display blog posts on more than one page? I’m looking to have three pages on my WP blog, each page for a different topic of writings. Ideally, I’d like to be able to log in, write a new post, then select whether that posts appears on page X, Y, or Z. Any ideas or info is much appreciated.

Viewing 15 replies - 1 through 15 (of 17 total)
  • Try looking at the categories. Sounds like that’s what your describing.

    Thread Starter chaseadams

    (@chaseadams)

    Yes, the posts would be in three separate categories but I want them to also appear on three different PAGES. For example, The main page of the blog might hold all of my “business” posts. At the top of the page there would be links to a “personal” and “experiments” page, both pages displaying different posts than were on the “business” page.

    Have you tried clicking on a link to your categories?
    Did you notice, that when you do that, you get a “page” (not to be confused with Pages) listing all the posts in that category.

    Just like the good Doc mentioned earlier.

    Is that not what you want?

    Thread Starter chaseadams

    (@chaseadams)

    Yes, so for example, if I create a handful of posts under lets say the “business” category, I can click the “business” tag and have a page full of only business related posts. My question is, how do I add a Page with only posts from one specific category? I want to be able to click a “business” button at the top of my blog and view a page of all business posts.

    To add to this inquiry, because I would like to do the same thing, every post goes on the home page (or whichever one you select) and so if you want to separate it out by pages (topics) so that only posts related to those topics appear on those pages, I have not figured out how to do that. Any way? And the problem is every new post would go on the home page, wouldn’t it?

    chaseadams: how do I add a Page with only posts from one specific category?
    – You don’t! (Wrong approach… WP does it for you out of the box.

    And for both of your: just stop talking “pages” – that confuses everybody since Pages has special meaning in WP.

    To achieve what you guys want, try to think the other way around: NOT posting to a page (which doesn’t work) but excluding categories from the main page.
    By default, the expectation from a blogging tool is to show all the posts on the main page in chronological order.
    There are plugins for excluding cats from the main page.
    Also, there are techniques and plugins to make a static home page without listing the posts, so they would be visible only on the respective category archives.

    Thanks. I’ll give that a approach a try.

    Thread Starter chaseadams

    (@chaseadams)

    Sounds great. Could you lead us to the appropriate plugins?

    Sure, just get into the habit to tell in your initial post all the details, e.g. WP version πŸ™‚

    Some plugins work great with the 2.0.x branch and other don’t work with 2.1…

    However, clicking on a category name and getting displayed ONLY the posts in that catgeory… works for ages in any WP version.

    Thread Starter chaseadams

    (@chaseadams)

    Thanks, moshu. My WP version is 2.1, by the way.

    Then for 2.1 you have a built-in method to create/use static front page (see in your own admin panel).

    Hi,

    If you want to have only the post of one category on one page, you don’t need a specific plugin. If you have Page X, Y, and Z, make a Page Template for each of the three pages. Then, for exemple for page X, put <?php query_posts('category_name=X'); ?> before <?php while (have_posts()) : the_post(); ?> in the template for that page. Create Page X and choose the corresponding template for that page. Then create a post and choose category X for that post. Do the same (Page Template, Page and posts) for Y and Z.

    boreal,
    you just reproduced the hard way what WP is already doing out of the box: displaying category archives when clicking on a category name πŸ˜‰

    Moshu,

    I don’t understand why you don’t understand this … boreal is trying to explain to how create a professional look to a website – no visitor wants to search through archives on a sidebar. That is the point of having Page Tabs on the top of a website – for EASE of navigation.

    Take a look at the site I am working on-

    http://www.therecshow.com

    I have Pages called “Movies” and “music” and “television”, the tabs for which are at the top of the main blog page.

    I want archived blog entries in the categories of “movies” and “music” and “television” to go on their respective pages … for ease of navigation.

    Sure, I could have a sidebar archive, but it looks like crap and defeats the purpose of having multiple actively updating pages.

    Understand the difference?

    I do; unfortunately, YOU don’t understand how WP works.
    For me it is 100 times easier to alter the top navbar to point to the categories archives… then to change the basic behaviour of WP. It just doesn’t make sense to force it to do something in a complicated way, when you have built-in solutions for it.

    All you have to do: change that MOVIES thing in the horizontal menu to point to your Movies category.
    You can use the Redirectify plugin or you can can handcode the links in the top navbar.

    What is soooo complicated in this?

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Posting to separate pages’ is closed to new replies.