這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

WP Recent Posts From Category

描述

The “WP Recent Posts From Category” is a simple plugin that allows you to insert a list of recent posts from the desired category in a widget, post or page.

Using the shortcode generator you can easily customize the list of posts, you just have to paste the generated shortcode wherever you want the list to show.
Customizables options include:

  • the desired category
  • the number of posts to display
  • include/exclude posts from children categories
  • show excerpt
  • show author and date in the output.

Styling the output is easy if you are confident with CSS, as you can apply a custom class to the list container, or use the default “rpfc-container” class instead.

螢幕截圖

  • The shortcode generator interface.
  • You can use the shortcode in a text widget.
  • The plugin used in a widget.
  • You can use the shortcode in pages or posts as well.

安裝

Automatic installation

  1. Go to Plugins > Add New > Upload and select the .zip file from your hard disk
  2. Click the “Install now” button
  3. Activate the plugin through the ‘Plugins’ menu in WordPress

Manual installation

  1. Upload the plugin folder to the /wp-content/plugins/ directory via ftp
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常見問題

How do I write a shortcode?

Once the plugin is installed and activated, from your dashboard navigate to Settings > WP Recent Posts From Category, select the desired options and click the “Generate Shortcode” button.

How do I use it in a widget?

Generate the shortcode you need, copy it and paste it in a text widget.

What about sticky posts?

The plugin doesn’t exclude sticky posts, but doesn’t display them at the top of the list.

Can I apply custom css styles to the plugin?

Yes, you can use a custom class for the container, or apply styles to the default “rpfc-container” class.

評價

2016年11月19日
i have used this plugin and i must say that it's a great plugin , it works like a charm ! integrated it in my homepage using the shortcode , and used the attached class to call a CSS div i'm very very happy to find such a great and working plugin also i want to thank the coder "daniele" for his great help i wish you a great life thanks a lot keep the good work regards
2016年9月3日
I've been looking for it. This is the perfect plugin. Special thanks for the "Container's class." Thank you so much!
閱讀全部7個評價

貢獻者及開發者

“WP Recent Posts From Category” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 WP Recent Posts From Category 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.1.0

  • Added excerpt

1.0.2

  • Fixed minor bug

1.0.1

  • Minor updates

1.0

  • First release