>
Download This Plugin | |
Download Elegant Themes | |
Name | Posts per Cat |
Version | 1.4.1 |
Author | Aleksandar Uroševi? |
Rating | 100 |
Last updated | 2014-09-16 07:23:00 |
Downloads |
34297
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
Posts per Cat plugin added 1 kB of resources to the Home page and 1 kB of resources to the sample Post page.
Posts per Cat plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! Posts per Cat plugin ads no tables to your Wordpress blog database.Posts per Cat is a simple plugin that grab all or only selected categories from blog database, and then list recent N posts from each category, organised in 1-5 columns.
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 prefixposts=5
- Number of headlines per category blockporderby=date
- Order posts by date, modified, title, name, ID, authorporder=DESC
- Order sorting DESC or ASCtitlelen=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 lengththumb=0
- Show thumbnail with excerpt (0 or 1)tsize=60
- Thumbnail size, set size in px for thumbnail width (height is same); or set in format WIDTHxHEIGHT (example 220x123); or set predefined custom image size (thumbnail, small, medium, large, full or cusotm defined)Since version 1.4.0 you can use template to display custom formatted output (post line element). Example:
[ppc]
<h3><a href="%link%">%title_short%</a></h3>
<span class="comments-meta">(<a href="%comments_link%">%comments_num% comments</a>)</span>
<span class="date-meta">%date% @ %time%</span>
<span class="author-meta"><a href="%author_posts_url%">%author_displayname%</a></span>
%thumbnail%
%excerpt% <a href="%link%">[read more]</a>
[/ppc]
Supported macros:
* %title%
* %title_short%
* %post_content%
* %excerpt%
* %thumbnail%
* %link%
* %comments_num%
* %comments_link%
* %comments_form_link%
* %datetime%
* %date%
* %time%
* %author_displayname%
* %author_firstname%
* %author_lastname%
* %author_posts_url%