开发者 |
urkekg
techwebux |
---|---|
更新时间 | 2020年12月28日 16:08 |
捐献地址: | 去捐款 |
PHP版本: | 3.8.0 及以上 |
WordPress版本: | 4.4 |
版权: | GPLv3 or later |
版权网址: | 版权信息 |
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)%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%
Plugins
-->Add New
posts per cat
to Search
field and press Search Plugins
buttonInstall Now
link below Posts per Cat
nameOK
as answer to question Are you sure you want to install this plugin?
Activate Plugin
link after success installationSettings
-->Posts per Cat
page and configure plugin's options<?php do_action('ppc'); ?>
in your template file (for example in index.php just before closing </div><!-- #content -->
tag, or use widget Posts per Cat
or shortcode [ppc]
.Enter category ID into Include category
field, and leave unchecked Only top level categories
checkbox.
Enable option Use post content as excerpt
in widget, or provide shortcode parameter content=1
, because you did not have manually set excerpts for posts, so you must ask PPC to generate excerpt from post content.