WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Need different posts and their categories to appear on seperate pages (15 posts)

  1. goldmember
    Member
    Posted 4 years ago #

    So I have two different post categories (Events and Members). Right now postings I make to either category show up on my designated Posts page (currently set as my Events page): http://www.goldcoastchamber.com/wordpress/?page_id=31

    but how do i get JUST the posts that are in the category of "Events" to show up on that page???

    And then get posts that are just in the category of "Members" to show up on my members page: http://www.goldcoastchamber.com/wordpress/?page_id=36???

    thanks in advance!

  2. llamaman
    Member
    Posted 4 years ago #

    Hi, Goldmember!
    You will need to create two page templates to make this happen. Then use query_posts('cat=1'); to get only the category you need.

    Toby

  3. MichaelH
    Member
    Posted 4 years ago #

    3 avenues:
    1. See the Page of Posts example in the Pages article
    2. Use the http://wordpress.org/extend/plugins/simply-exclude/ plugin
    3. Use the http://wordpress.org/extend/plugins/list-category-posts/ plugin

    Number 3 is probably easiest

  4. goldmember
    Member
    Posted 4 years ago #

    thanks. i installed #3 but its not really what i need. what the plugin did was put the posts headings of a certain category in either the main sidebar or right sidebar. but what i need to have happen is to have all the posts for a specific category appear in the content of a specific page.

    any idea how i make that happen?

  5. goldmember
    Member
    Posted 4 years ago #

    to make for a real simple example, let's say i have a website about sports, with pages for Basketball, Football, Baseball and Hockey.

    And all my posts are put in either a Basketball, Football, Baseball or Hockey category.

    How do i get just the posts for the relevant category to show on just the relevant pages???

  6. MichaelH
    Member
    Posted 4 years ago #

    In theory you don't have to do anything because WordPress will automatically display an archive of a category. Switch to the WordPress Default theme, use no widgets, and click on a category link in the sidebar.

    If you have to use Pages then review the other two options suggested above.

  7. goldmember
    Member
    Posted 4 years ago #

    umm, i've spent over a month customizing this theme. i'm not about to drop it. there has got to be a simpler way to make this happen.

  8. MichaelH's suggestion was meant as a demo, not a recommendation to change your theme. Either see Category Templates « WordPress Codex and use category templates to display one category per, or use a plugin like Aral Balkan · Inline Posts Plugin for WordPress on your pages.

  9. toddsdonald
    Member
    Posted 4 years ago #

    "Goldmember said: ... And all my posts are put in either a Basketball, Football, Baseball or Hockey category. How do i get just the posts for the relevant category to show on just the relevant pages???"

    Hilarious, if I think what you mean is that you want a website visitor to be able to click on the main navigation, (page links) and see the content of a category. Tons of people have the same issue and there are no solutions yet... Its just plain dumb.

  10. toddsdonald
    Member
    Posted 4 years ago #

    This is solved for me. The Blog in Blog plug in was the answer and worked perfectly!

  11. goldmember
    Member
    Posted 4 years ago #

    thanks. so i used Aral's plugin and that seems to be getting me where i need to go. slight problem though, i'm inserting multiple posts into this page (http://www.goldcoastchamber.com/wordpress/?page_id=36#business) but the second post (business services) is wrapping around the picture from the first post. i put in a clearboth in the css, but that doesnt seem to be moving it down below the picture. any advice? thanks!

    HTML

    <a href="http://www.goldcoastchamber.com/wordpress/?page_id=36#restaurants">Restaurants Link</a>
    
    <a href="http://www.goldcoastchamber.com/wordpress/?page_id=36#business">Business Services Link</a>
    
    <span class="clearboth">
    253
    </span>
    264

    CSS

    .clearboth {clear:both;}
  12. goldmember
    Member
    Posted 4 years ago #

    anyone? thanks!

  13. Rather than a bump, a little searching of the forums will help you a great deal: WordPress › Support » Text wont wrap around image

  14. heguru
    Member
    Posted 4 years ago #

    I checked out this plugin in more detail. Doesn't look like it will do what I need.

    I need to set and forget the blog. In other words, I want to be able to tell wordpress to take a specific feed, or category, and just put those feeds on a separate page on autopilot. Basically treat that page like its own little blog.

    My home page will have some featured content on it that I manage periodically, but I'll have a lot of blogs in this style.

    Is it possible to do that?

    Thanks

  15. heguru
    Member
    Posted 4 years ago #

    I typed something else here that is irrelevant, and can't figure out how to delete posts; just ignore this one. :-)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.