Title: Post Grid Shortcode
Author: devnahin
Published: <strong>9. desember 2024</strong>
Last modified: 9. desember 2024

---

Søk gjennom innstikk

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

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

# Post Grid Shortcode

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

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

 * [Detaljar](https://nn.wordpress.org/plugins/post-grid-shortcode/#description)
 * [Omtalar](https://nn.wordpress.org/plugins/post-grid-shortcode/#reviews)
 *  [Installasjon](https://nn.wordpress.org/plugins/post-grid-shortcode/#installation)
 * [Utvikling](https://nn.wordpress.org/plugins/post-grid-shortcode/#developers)

 [Hjelp](https://wordpress.org/support/plugin/post-grid-shortcode/)

## Skildring

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).

## Installasjon

 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.

## Vanlege spm.

### 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»]

## Omtalar

![](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/) 9. desember 2024

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

 [ Les 1 omtale ](https://wordpress.org/support/plugin/post-grid-shortcode/reviews/)

## Bidragsytarar og utviklarar

“Post Grid Shortcode” is open source software. The following people have contributed
to this plugin.

Contributors

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

[Omset “Post Grid Shortcode” til ditt eige språk.](https://translate.wordpress.org/projects/wp-plugins/post-grid-shortcode)

### Interested in development?

[Les kjeldekoden](https://plugins.trac.wordpress.org/browser/post-grid-shortcode/),
sjekk [SVN-lageret](https://plugins.svn.wordpress.org/post-grid-shortcode/) eller
abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/post-grid-shortcode/)
med [RSS](https://plugins.trac.wordpress.org/log/post-grid-shortcode/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

#### 1.0.0

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

## Om

 *  Version **1.0.0**
 *  Last updated **1 år sidan**
 *  Active installations **10+**
 *  WordPress version ** 5.0 eller nyare **
 *  Tested up to **6.7.5**
 *  PHP version ** 7.0 eller nyare **
 *  Language
 * [English (US)](https://wordpress.org/plugins/post-grid-shortcode/)
 * Tags
 * [featured image](https://nn.wordpress.org/plugins/tags/featured-image/)[grid](https://nn.wordpress.org/plugins/tags/grid/)
   [post grid](https://nn.wordpress.org/plugins/tags/post-grid/)[posts](https://nn.wordpress.org/plugins/tags/posts/)
   [shortcode](https://nn.wordpress.org/plugins/tags/shortcode/)
 *  [Avansert vising](https://nn.wordpress.org/plugins/post-grid-shortcode/advanced/)

## Vurderingar

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/post-grid-shortcode/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/post-grid-shortcode/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/post-grid-shortcode/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/post-grid-shortcode/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/post-grid-shortcode/reviews/?filter=1)

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

[See all reviews](https://wordpress.org/support/plugin/post-grid-shortcode/reviews/)

## Contributors

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

## Hjelp

Har du noko å seia? Treng du hjelp?

 [Sjå hjelpeforumet](https://wordpress.org/support/plugin/post-grid-shortcode/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://buymeacoffee.com/devnahin)