WordPress.org

Ready to get started?Download WordPress

Forums

Putting seperate posts and links on seperate pages (13 posts)

  1. budgib
    Member
    Posted 6 years ago #

    Hi Guys,

    This is what I am trying to do. I want the main page to only display posts that are in the "general" category. Now I have other sections like "design" for example. Now I want on that page to have all the posts I put in the "design" category. If I ticked both categories it will show up on both pages. I think it sounds simple enough but not sure how to do it.

    Also is there a way to split up the blogroll for separate pages? (I understand that would be a fair bit harder).

    Any feedback would be great.
    http://www.davidbyrne.net.au

    Thanks guys.

  2. MichaelH
    Member
    Posted 6 years ago #

    Look at Category Visibility or Ultimate Category Excluder listed in Plugins/Restriction.

    Also Custom Query String might be useful.

    And finally if you don't want plugins, then review The Loop and the concept of excluding posts from certain categories.

  3. budgib
    Member
    Posted 6 years ago #

    Hi Michael,

    Thanks for your help, that page is great! Only problem is the only plug-in I can find is for 2.0 and I am running 2.2.
    I thought that there would be a very popular plug-in for something like this?

    I am not a very strong coder so would prefer the plug-in option.

    Cheers

  4. MichaelH
    Member
    Posted 6 years ago #

    If you find that those plugins don't work with 2.2 please add them to the Don't work section of:
    http://codex.wordpress.org/Plugins/Plugin_Compatibility/2.2

  5. budgib
    Member
    Posted 6 years ago #

    Ok, no prob.

    Does anyone out there have anything like this working in 2.2?

  6. Chris_K
    Member
    Posted 6 years ago #

  7. budgib
    Member
    Posted 6 years ago #

    Hi Handy Solo,

    Thanks, that would only helps with half the problem. The other half of the problem is only showing certain categories posts on certain pages.

    I don't mind excluding from the home page but just thought it would be possible to have a "only show general" on the home page and a "only show design" on the design page.

    So on the page edit page I can click something like "show posts in this category" and then a list of categories and then when I click it all the posts will come up on that page?

    I hope that makes sense to every one?

  8. Chris_K
    Member
    Posted 6 years ago #

    Thanks, that would only helps with half the problem. The other half of the problem is only showing certain categories posts on certain pages.

    Category_Templates

    I don't mind excluding from the home page but just thought it would be possible to have a "only show general" on the home page and a "only show design" on the design page.

    Well, that's what those category links in most sidebars are for. Use the plugin I mentioned to exclude a category from main page. Use the category list as navigation... to navigate to articles for the given category.

  9. budgib
    Member
    Posted 6 years ago #

    Hey Handy,

    Thanks man, I really do appreciate your help. I was just wondering though if I make a "page" and have at the top a big long spiel and then after that do something like this:

    i am not going to try and pretend to code

    php get category = 6
    display posts when category = 6

    That along with that cool little plug-in will fix my problem. I just dont want people to click the category links and would prefer them to use the main navigation aswell.

  10. Chris_K
    Member
    Posted 6 years ago #

    There's no reason that category links need to be labeled "Category Links". If it makes more sense, label 'em "pages" or "sections" or "bob".

    I think Category_Templates would do exactly what you're after.

  11. budgib
    Member
    Posted 6 years ago #

    Hi Handy,

    If you go to my site you will see ....
    OH HOLD ON!!

    +penny drops+

    I think I get what you mean!
    Will give it a go now and see how I do.

  12. budgib
    Member
    Posted 6 years ago #

    Ok, I get what you mean in theory but there is a problem.
    If you go to my site you will see that the other category entries appear below the one you are in? Anyway of getting rid of that?

    This seems like the hardest way to fix this problem. I am just really surprised that a "put this categories post on this page" plug-in has not been built?

  13. Chris_K
    Member
    Posted 6 years ago #

    If you go to my site you will see that the other category entries appear below the one you are in? Anyway of getting rid of that?

    Not sure I quite follow. Could you elaborate a bit?

    This seems like the hardest way to fix this problem. I am just really surprised that a "put this categories post on this page" plug-in has not been built?

    Because we have Category_Templates?
    Read up on Template_Hierarchy a bit, I think it'll help clarify what I'm suggesting.

    This isn't what you're after, but you may find it useful in conjunction with the cat templates: http://www.dagondesign.com/articles/other-posts-from-cat-plugin-for-wordpress/

    Honestly, I think this is the easiest way to do what you're after. But I'll stop pestering now. Best of luck!

Topic Closed

This topic has been closed to new replies.

About this Topic