Linux 软件免费装
Banner图

Posts per Cat

开发者 urkekg
techwebux
更新时间 2025年5月13日 03:36
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 6.8.1
版权: GPLv3 or later
版权网址: 版权信息

标签

posts recent posts excerpt category archives

下载

0.0.8 1.4.2 0.0.10 0.0.11 0.0.12 0.0.13 0.0.14 0.0.7 0.0.9 1.0.0 1.1.0 1.2.0 1.2.1 1.3.0 1.4.0 1.4.1 1.4.1.1 1.4.1.2 1.5.0

详情介绍:

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. If you are interested to acquisition of plugin, please contact us. 特点 Shortcode options You can use shortcode [ppc], with options below (set option in shortcode to override default settings above): Since version 1.4.0 you can use template to display custom formatted output (post line element). Example: `[ppc] %title_short% (%comments_num% comments) %date% @ %time% %author_displayname% %thumbnail% %excerpt% [read more] [/ppc]` Supported macros:

安装:

  1. Login to your WordPress site and go to page Plugins-->Add New
  2. Type posts per cat to Search field and press Search Plugins button
  3. Click on Install Now link below Posts per Cat name
  4. Click on OK as answer to question Are you sure you want to install this plugin?
  5. Click Activate Plugin link after success installation
  6. Go to Settings-->Posts per Cat page and configure plugin's options
  7. Put code <?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].

屏幕截图:

  • Posts per Cat widget
  • Posts per Cat: custom cats, 3 column, w/o enabled CSS
  • Posts per Cat: all cats, 3 column, w/ enabled CSS

升级注意事项:

1.5.0
  • Make backup before upgrade!
  • Review shortcode/widget settings after upgrade.
1.4.0
  • Make backup before upgrade!
  • Install and activate Redux Framework Plugin to motify global Posts-per-Cat settings.
  • Review shortcode/widget settings after upgrade.
  • Do not forget to make website backup before plugin upgrade!
1.3.0
  • General settings page moved to Redux framework. Make backup before you update plugin, so you can go back if something go wrong.
1.2.0
  • We changed options names for number of columns, number of posts and excerpts visibility. We recommend you to update plugin settings after update.

常见问题:

I would like to get a list of posts but just from one category

Enter category ID into Include category field, and leave unchecked Only top level categories checkbox.

I set in template macro to display excerpt, but no excerpt displayed

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.

更新日志:

1.5.0 (2025-05-12) 1.4.2 (2015-11-28) 1.4.1.2 (2015-04-16) 1.4.1.1 (2015-03-30) 1.4.1 (2014-09-16) 1.4.0 (2014-09-13) 1.3.0 (2014-06-01) 1.2.1 (2014-01-27) 1.2.0 (2013-11-24) 1.1.0 (2012-04-05) 1.0.0 (2012-01-16) 0.0.14 (2011-04-09) 0.0.13 (2010-05-27) 0.0.12 (2010-05-18) 0.0.11 (2010-04-24) 0.0.10 (2010-01-07) 0.0.9 (2009-10-09) 0.0.8 (2009-09-26) 0.0.7 (2009-03-04) 0.0.6 (2009-03-03) 0.0.5 (2009-02-20) 0.0.4 (2009-02-20) 0.0.3 (2009-02-16) 0.0.2 (2009-02-10) 0.0.1 (2009-02-02)