Display only posts from certain categories on page?

Community Forums Forums General Discussion Display only posts from certain categories on page?

This topic is: not resolved

Tagged: ,

This topic contains 14 replies, has 4 voices, and was last updated by  cway 3 months, 2 weeks ago.

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #70904

    Jules23
    Participant
    Post count: 1

    I have a feeling this is something basic, so I apologize in advance. :)

    The site I am working with has multiple pages…How would I be able to display only posts from certain categories on each page?

    ie. I would like posts with the category “News” to be shown on the News page

    “Devotionals” to be listed on the Devotionals page

    etc.

    Thanks so much everyone!!

    OH and the site is http://notjustabuilding.cc

    #70907

    braddalton
    Participant
    Post count: 10253

    You category archives will give you that wothout any need to do anything other than link to those archive pages.

    All you need to do is create a new category on your Edit Post screen and add the post to it.


    #113920

    cway
    Participant
    Post count: 33

    Brad, I’m trying to accomplish the same thing. Would you mind explaining a little more, as I don’t quite understand. I’ve created a Testimonials category, created a post and assigned it to the Testimonials category. I have a page called Testimonials. I can’t find a way to tie the Testimonials category to the Testimonials page.
    Thanks!
    Cameron

    #113922

    Kellylise
    Participant
    Post count: 444
    #113931

    braddalton
    Participant
    Post count: 10253

    Did you find your answer from those links?


    #113933

    cway
    Participant
    Post count: 33

    Thanks, Kelly, for the links, and Brad for checking-in.
    I followed the steps outlined on the mattsaffiliatejourney site, but it didn’t work. I got a blank page: http://www.ftcollinspersonaltrainer.com/testimonials/
    I’m going through that site, again, seeing if I missed anything, and reviewing another tutorial.

    #113935

    braddalton
    Participant
    Post count: 10253

    You don’t need to create a page named testimonials because the the archive is generated once you create a category in that name.


    #113940

    cway
    Participant
    Post count: 33

    If I don’t create a page and assign my custom template to it, how will I get to the category in a browser?

    #113943

    Kellylise
    Participant
    Post count: 444

    Your Blog (link in your menu) is an archive of all posts.

    None of your posts display categories. You have related posts. But no category “meta.”

    Do you have any categories created in WordPress Admin > Posts > Categories?

    #113944

    cway
    Participant
    Post count: 33

    Yes. I’ve created a testimonials category.

    #113945

    Kellylise
    Participant
    Post count: 444

    Have you removed post meta from displaying?

    http://www.ftcollinspersonaltrainer.com/blog/

    The post titled Testimonial is visible at the top. But I don’t see “Filed under: Testimonial”

    If “Filed under: Testimonial” were visible on the post, you would be able to click the category “Testimonial” under the post and you would see the auto-generated Category Archive for all Testimonial posts.

    #113946

    Kellylise
    Participant
    Post count: 444

    Reply #113940

    If I don’t create a page and assign my custom template to it, how will I get to the category in a browser?

    When adding to a Menu (Appearances > menu) you can enable “categories” as menu items. If not visible, go to the top right corner, select Screen Options, then tick the box for Categories.

    After that, you will be able to select specific categories to add to your menu. That’s one way to “get to the category in a browser.”

    #113950

    cway
    Participant
    Post count: 33

    Thank you for assistance, Kelly.
    I don’t know what you mean by “Have you removed post meta from displaying?”

    I forgot I can now add categories to menus. I found the URL (http://www.ftcollinspersonaltrainer.com/category/testimonials/)

    #113953

    Kellylise
    Participant
    Post count: 444

    Go to:

    http://demo.dynamiktheme.com/

    At the bottom of the first post, click on the blue Category #1.

    That is Category meta [displayed]. And when you click on the category, it takes you to the automatically-generated category archive.

    By contrast, your posts do not have this, which is why I asked if you removed post meta. Not meant as a critique. Just an observation.

    #113962

    cway
    Participant
    Post count: 33

    Oh. I see. Yes, I did remove Post Meta, under Genesis > Simple Edits.
    I think creating a couple categories, then adding those categories to my menu will do what I need.
    Thanks!

Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in to reply to this topic.