Title: Post Grid Shortcode
Author: devnahin
Published: <strong>2024 年 12 月 9 日</strong>
Last modified: 2024 年 12 月 9 日

---

搜尋外掛

![](https://ps.w.org/post-grid-shortcode/assets/banner-772x250.png?rev=3204927)

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

![](https://ps.w.org/post-grid-shortcode/assets/icon-256x256.png?rev=3204932)

# Post Grid Shortcode

 由 [devnahin](https://profiles.wordpress.org/devnahin/) 開發

[下載](https://downloads.wordpress.org/plugin/post-grid-shortcode.1.0.0.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/post-grid-shortcode/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/post-grid-shortcode/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/post-grid-shortcode/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/post-grid-shortcode/#developers)

 [技術支援](https://wordpress.org/support/plugin/post-grid-shortcode/)

## 外掛說明

The **Post Grid Shortcode** plugin allows you to create a responsive grid of posts
anywhere on your site using a simple shortcode. It provides several options to control
how the posts are displayed, including the number of posts, order, post types, and
the option to show featured images and excerpts.

**Features include:**
 – Customizable grid of posts – Control over the number of
posts to display – Choose post type, order, and post status – Display featured images
and excerpts – Option to add a “Read More” button with customizable text

Use the `[post-grid]` shortcode in any post, page, or widget to display a grid of
posts.

### License & Warranty

This plugin is licensed under the GPLv2 or later. You are free to use, modify, and
distribute it as long as you comply with the terms of the GPLv2 license.

### Credits

Post Grid Shortcode was developed by devnahin. If you enjoy using this plugin, consider
supporting us by donating via our [donation page](https://buymeacoffee.com/devnahin).

## 安裝方式

 1. Upload the plugin files to the `/wp-content/plugins/post-grid-shortcode` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Navigate to “Settings” > “Post Grid Shortcode” to configure your options.
 4. Add the `[post-grid]` shortcode to any post or page where you want the post grid
    to appear.

## 常見問題集

### How do I use the shortcode?

Simply add `[post-grid]` in any post, page, or widget. You can customize the display
by using the following attributes:

 * `posts_per_page`: (int) Number of posts to display. Default is 5.
 * `orderby`: (string) How to order the posts (e.g., date, title). Default is ‘date’.
 * `order`: (string) Ascending (‘ASC’) or Descending (‘DESC’). Default is ‘ASC’.
 * `post_type`: (string) Type of posts to display (e.g., ‘post’, ‘page’). Default
   is ‘post’.
 * `post_status`: (string) Status of posts to display (e.g., ‘publish’, ‘draft’).
   Default is ‘publish’.
 * `show_featured_image`: (bool) Whether to show featured images. Default is true.
 * `excerpt_length`: (int) Number of words in the post excerpt. Default is 20.
 * `enable_read_more_button`: (bool) Show a “Read More” button. Default is false.
 * `read_more_text`: (string) Customize the “Read More” button text. Default is “
   Read More”.

Example usage:
 [post-grid posts_per_page=”3″ orderby=”title” order=”DESC” show_featured_image
=”1″]

### Where do I configure the options for the plugin?

Go to “Settings” > “Post Grid Shortcode” in the WordPress admin dashboard.

### Can I use this with custom post types?

Yes, you can specify the `post_type` attribute in the shortcode to display custom
post types. For example:
 [post-grid post_type=”product”]

## 使用者評論

![](https://secure.gravatar.com/avatar/6b3e91fc438d28cbdefc9834350f0464a11bcbbef6e475c3c4b4a1f7975a0d5b?
s=60&d=retro&r=g)

### 󠀁[Flexible and Easy-to-Use Post Grid Plugin](https://wordpress.org/support/topic/flexible-and-easy-to-use-post-grid-plugin/)󠁿

 [standevis](https://profiles.wordpress.org/standevis/) 2024 年 12 月 9 日

The Post Grid Shortcode plugin is an excellent plugin for anyone looking to display
any custom posts in a grid layout on their WordPress site. It’s very user-friendly
and comes with a variety of customizable options. I love that you can control the
number of posts, post types, and even the order in which they appear.Thank you so
very much

 [ 閱讀全部 1 則使用者評論 ](https://wordpress.org/support/plugin/post-grid-shortcode/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Post Grid Shortcode〉的開發相關工作。

參與者

 *   [ devnahin ](https://profiles.wordpress.org/devnahin/)

[將〈Post Grid Shortcode〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/post-grid-shortcode)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/post-grid-shortcode/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/post-grid-shortcode/)，或透過
[RSS](https://plugins.trac.wordpress.org/log/post-grid-shortcode/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/post-grid-shortcode/)。

## 變更記錄

#### 1.0.0

 * Initial release of Post Grid Shortcode.
 * Basic settings for post grid display and shortcode attributes.

## 中繼資料

 *  版本 **1.0.0**
 *  最後更新 **1 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 5.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.7.5**
 *  PHP 版本需求 ** 7.0 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/post-grid-shortcode/)
 * 標籤:
 * [featured image](https://tw.wordpress.org/plugins/tags/featured-image/)[grid](https://tw.wordpress.org/plugins/tags/grid/)
   [post grid](https://tw.wordpress.org/plugins/tags/post-grid/)[posts](https://tw.wordpress.org/plugins/tags/posts/)
   [shortcode](https://tw.wordpress.org/plugins/tags/shortcode/)
 *  [進階檢視](https://tw.wordpress.org/plugins/post-grid-shortcode/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/post-grid-shortcode/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/post-grid-shortcode/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/post-grid-shortcode/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/post-grid-shortcode/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/post-grid-shortcode/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/post-grid-shortcode/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/post-grid-shortcode/reviews/)

## 參與者

 *   [ devnahin ](https://profiles.wordpress.org/devnahin/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/post-grid-shortcode/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://buymeacoffee.com/devnahin)