WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Posts per Cat

Group recent posts by category and show them inside boxes organized in one, two, three or four columns.

Posts per Cat is a simple plugin that grab all or only selected categories from blog database, and then list last N posts by category in boxes organised in 1-4 columns.

Features

  • choose how many boxes per row will be displayed (one, two, three or four)
  • define number of post titles to display per category
  • define category ID's to exclude
  • define category ID's to include
  • toggle displaying of child categories
  • ordering boxes by category ID, title or custom
  • toggle displaying excerpt abowe post title (for first post only, for all posts or none)
  • toggle displaying featured image for posts
  • toggle displaying number of comments (with link) added to post title
  • toggle displaying sticky posts
  • toggle usage of custom list CSS
  • SEO optimized permalink URI's
  • integrate to template file, use shortcode [ppc] with options or widget
  • translantable
  • produces XHTML 1.1 valid code
  • published under terms of GNU GPLv3

Shortcode options

You can use shortcode [ppc], with options below (set option in shortcode to override default settings above):

  • columns=2 - Number of columns (1, 2, 3, 4 or 5)
  • minh=0 - Minimal height of box (in px, set to 0 for auto)
  • include=category_ID's - Include category (comma separated category ID's)
  • exclude=category_ID's - Exclude category (comma separated category ID's)
  • parent=0 - Only top level categories (0 or 1)
  • order=ID - Order categories by (ID, name or custom)
  • catonly=0 - Only from displayed category archive (0 or 1)
  • noctlink=0 - Do not link category name (0 or 1)
  • more=0 - Standalone link to archives (0 or 1)
  • moretxt="More from" - Archive link prefix
  • posts=5 - Number of headlines per category block
  • titlelen=34 - Headline length (in characters)
  • shorten=0 - Shorten headline (0 or 1)
  • commnum=0 - Display comment number (0 or 1)
  • nosticky=0 - Hide sticky posts (0 or 1)
  • excerpts=none - Show excerpt (none, first or all)
  • content=0 - Use post content as excerpt (0 or 1)
  • excleng=100 - Excerpt length
  • thumb=0 - Show thumbnail with excerpt (0 or 1)
  • tsize=60 - Thumbnail size, set size in px for thumbnail width (height is same)

Requires: 3.8.0 or higher
Compatible up to: 3.9.2
Last Updated: 2014-6-1
Downloads: 28,664

Ratings

4 stars
4.9 out of 5 stars

Support

0 of 7 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1 100,2,2
50,2,1 100,2,2 100,1,1 100,1,1
0,1,0
100,2,2
100,2,2
100,1,1
0,1,0
100,2,2 100,1,1
100,1,1
100,1,1
0,1,0