Jump to content


Photo
- - - - -

Show only three categories on blog


  • Please log in to reply
5 replies to this topic

#1 pedromaia

pedromaia

    Advanced Member

  • Members
  • 36 posts

Posted 25 September 2011 - 08:52 PM

Hi, I need to show only trhee post categories on blog. Some of the post has more than one category. I tried this code but it didn't work: How I can do this? Thanks, Pedro

#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 25 September 2011 - 11:23 PM

This may not be your ideal solution, but, you can create a page (not a post) and use this plugin to add the list of posts (however many you wish) by category. Uses the "[catlist]" shortcode. Additional options select which category to display. Actually, incredibly easy to apply and works like a charm.

Please Login or Register to see this Hidden Content



#3 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 18 November 2011 - 06:51 PM

Okay Pedro, what happened? If you create a static blog page and include a plugin, you can easily show category-specific posts only. There are several. Have you looked for others?

#4 pedromaia

pedromaia

    Advanced Member

  • Members
  • 36 posts

Posted 19 November 2011 - 03:01 PM

It didn't work very well. I had to do another work around with some code I found here.

#5 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 19 November 2011 - 07:23 PM

I presume from that statement that you have fixed it. Is that correct?

#6 pedromaia

pedromaia

    Advanced Member

  • Members
  • 36 posts

Posted 19 November 2011 - 08:42 PM

yes, that's correct.