Jump to content


Photo

Specific Categories Show on a Page


  • Please log in to reply
10 replies to this topic

#1 comprise

comprise

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 22 July 2011 - 07:13 PM

I'm not even sure if I'm asking this right.. I would like to have a "News" page and also a page for stories about customers. I can't seem to find a way to have two "blogs" on my website with posts being separate. My thought is that I can show only certain categories, ie. News, Customer stories, on different pages, but I can't seem to figure out how to do it. My news page: http://www.compriset...com/?page_id=20 My customer stories page: http://www.compriset...m/?page_id=2369 The customer stories is a page right now. I would like it to look like the News page with individual stories listed. Hope that makes sense... Thanks for any help! - Pete

#2 kgstew

kgstew

    Super Member

  • Members
  • 173 posts
  • Country: Country Flag

Posted 22 July 2011 - 08:03 PM

Hey Pete, Check out this post over at the WP forum http://wordpress.org...gs-in-one-site. There are a few different ways to do it and that should get you started. Cheers, -Kyle

#3 ocean

ocean

    Advanced Member

  • Members
  • PipPipPip
  • 34 posts
  • Framework Version:Pagelines framework
  • Country: Country Flag

Posted 23 July 2011 - 12:17 AM

Hi Pete I'm thinking you don't want separate blogs but separate categories, with both being like your news section. You can easily have a customer stories section that looks just like your news section, and the posts would be under separate categories. You can place a blog category under a page in your main navigation (seeing as you have drop-down navigation) - or you could place a separate menu (of just the news section and customer stories section) elsewhere (sidebar or footer etc) You make this menu under 'menu' which is in the 'Appearance' section of your WordPress installation. Hope I understood you correctly. If not, my apologies :)

#4 comprise

comprise

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 25 July 2011 - 02:33 PM

Thanks for the replies! You're both right in what I'm looking for. However, I was hoping there was just an easy way to make one Category show up on a Page listed like my news page. I'm technical enough to be dangerous...so I don't really want to go fooling with the database or my php files. I also tried using a plugin called List Category Post, but I couldn't get it to work. "List Category Posts allows you to list posts from a category into a post/page using the [catlist] shortcode. This shortcode accepts a category name or id, the order in which you want the posts to display, and the number of posts to display."

#5 ocean

ocean

    Advanced Member

  • Members
  • PipPipPip
  • 34 posts
  • Framework Version:Pagelines framework
  • Country: Country Flag

Posted 26 July 2011 - 03:48 PM

It is actually easy to "make one Category show up on a Page listed like my news page" and you don't need to dig into any code or use any plugins. Have you tried using a menu for your main navigation? (from there you'd be seconds away from adding a menu item that goes to a page (posts page) that contains all your posts for a specific category (your customer stories category) And it will look just like a page. But if you want to use a plugin - You could also make a Customer stories page - place a universal sidebar on it and then put a 'special recent posts' widget in the sidebar (and set the widget to the 'customer stories' category only) Special Recent Posts is a plugin. (I noticed you haven't changed your site's permalinks. This isn't necessary, but you could change the URLs of your pages like this: http://www.compriset...com/?page_id=32 to http://www.compriset...at-is-smart-pay You can do this by changing the permalink settings in your WordPress site to /%postname%/ - under Settings/ Custom Structure.

#6 fcotela

fcotela

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 05 August 2011 - 03:05 PM

Hi Ocean, im using your method for creating a page with a category list as you have suggested, but how do I control those pages - eg - remove sidebars - attach a template

#7 jgbr

jgbr

    Advanced Member

  • Members
  • 92 posts
  • Country: Country Flag

Posted 05 August 2011 - 04:07 PM

Ocean How does this work if a page is not part of a category? For instance, ive got a page with some writing and want only articles that are in the same category to be displayed with it. IE: My page is about Dogs Ive got a few lines about dogs then the plugin below, but when i tell the plugin to pull the same category, it cant because the page isnt part of category?

#8 comprise

comprise

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 19 October 2011 - 07:41 PM

Ocean, Using the menus was stupid simple! THANKS! I'd like to make my permalinks look nice, but last time I tried, on a test server, my whole WordPress site disappeared. I don't even know what I did wrong..kind of scared to try it again. Thanks again, - Pete

#9 cornell2

cornell2

    Super Member

  • Members
  • PipPipPipPip
  • 119 posts

Posted 06 November 2011 - 12:45 AM

I have this issue too. of course I understand how to get blog posts for just one category to display - but what confuses me (and I am almost embarrassed to admit) - is that I cannot see how I can edit this page (when i try to the PAGE layout - all I see is a small category edit screen). I want adjust pagelines settings for this particularl blog page. So for instance if my category is "Real Estate" and http: //www.myblog.com /category/real-estate is the page that displays the posts for that category - I want to be able to edit the layout of that page (just like any other page) so at least I can add pagelines parameters such as a feauture box, or slider etc ... or to turn on or off sidebars just for this page) How can I do this? Thanks!

#10 jschm

jschm

    Newbie

  • Members
  • 5 posts

Posted 16 August 2012 - 08:51 AM

@cornell2 Did you already find a solution for your problem? At the moment I also need to know how to display all post of a specific category on a page.

#11 cornell2

cornell2

    Super Member

  • Members
  • PipPipPipPip
  • 119 posts

Posted 16 August 2012 - 01:50 PM

It's been so long that I forget if I did anything specific to get the categories to display ...
here is an example

All blog entries
http://metapreneurship.net/blog/

Blog entries for a single category
http://metapreneursh...trepreneurship/

Note the difference in url's...

I also use a few plugins to do some more sophisticated management of category posts:

Advanced Recent Posts Widget
Blogroll In Posts
List category posts
Select Featured Posts
SM Sticky Featured Widget
Special Recent Posts


(I use them all on different areas of my site ... though it is not always obvious)

http://metapreneurship.net