이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

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.

설치

  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.

FAQ

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”]

후기

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 평가 읽기

기여자 & 개발자

“Post Grid Shortcode”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Post Grid Shortcode”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.0.0

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