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

Category Posts Shortcode

描述

The Category Posts Shortcode plugin allows you to easily display a list of posts within a specified category on your WordPress website. The plugin adds a new shortcode that can be used within your posts, pages, or widgets. The list of posts is styled to be visually appealing and responsive for various screen sizes.

To use the shortcode, simply add the following to your WordPress page or post editor, replacing “your-category-slug” with the desired category slug:

[category_posts category=”your-category-slug”]

For Multiple Categories:

[category_posts category=”uncategorized”]
[category_posts category=”blog”]

安裝

  1. Download the plugin files and upload the entire category-posts-shortcode folder to the /wp-content/plugins/ directory of your WordPress installation.
  2. Activate the plugin through the ‘Plugins’ menu in the WordPress admin dashboard.
  3. Use the [category_posts category="your-category-slug"] shortcode in your WordPress pages, posts, or widgets, replacing “your-category-slug” with the desired category slug.

常見問題

How can I change the styling of the posts list?

You can edit the category-posts-shortcode.css file located in the css folder of the plugin directory. Make sure to clear your cache after making any changes to see the updated styles.

Can I display multiple categories at once?

Currently, the plugin only supports displaying posts from a single category per shortcode. To display posts from multiple categories, you can add multiple shortcodes with different category slugs.

評價

There are no reviews for this plugin.

貢獻者及開發者

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

貢獻者

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

對開發相關資訊感興趣?

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

修改日誌

1.0.0

  • Initial release