Community Forums › Forums › Archived Forums › General Discussion › Display only posts from certain categories on page?
Tagged: categories, pages
- This topic has 14 replies, 4 voices, and was last updated 10 years, 6 months ago by cway.
-
AuthorPosts
-
November 4, 2013 at 2:01 pm #70904Jules23Member
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
November 4, 2013 at 2:25 pm #70907Brad DaltonParticipantYou 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.
July 11, 2014 at 1:02 pm #113920cwayMemberBrad, 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!
CameronJuly 11, 2014 at 1:15 pm #113922DTHkellyMemberSome reference:
http://www.carriedils.com/genesis-2-0-archive-settings-custom-post-types/
http://www.mattsaffiliatejourney.com/site-building/custom-category-templates-genesis/Displaying Category Headings on all Category Archive Pages in Genesis
http://www.carriedils.com/custom-page-template-genesis/July 11, 2014 at 1:43 pm #113931Brad DaltonParticipantJuly 11, 2014 at 1:48 pm #113933cwayMemberThanks, 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.July 11, 2014 at 1:53 pm #113935Brad DaltonParticipantYou don't need to create a page named testimonials because the the archive is generated once you create a category in that name.
July 11, 2014 at 2:10 pm #113940cwayMemberIf I don't create a page and assign my custom template to it, how will I get to the category in a browser?
July 11, 2014 at 2:28 pm #113943DTHkellyMemberYour 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?
July 11, 2014 at 2:33 pm #113944cwayMemberYes. I've created a testimonials category.
July 11, 2014 at 2:40 pm #113945DTHkellyMemberHave 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.
July 11, 2014 at 2:45 pm #113946DTHkellyMemberReply #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."
July 11, 2014 at 2:55 pm #113950cwayMemberThank 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/)
July 11, 2014 at 3:17 pm #113953DTHkellyMemberGo 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.
July 11, 2014 at 3:59 pm #113962cwayMemberOh. 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! -
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.