该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Smart Post Grid

描述

Smart Posts Grid is a Blog shortcode to query posts by many conditions and display in many pre-built layouts without any CSS. It just works seamlessly in your theme.

Main Features:

  1. Query posts by many conditions
  2. 9 Pre-built layouts, without any custom CSS
  3. Supports Visual Composer plugin
  4. Ajax query posts

Shortcode

[s_post_grid post_type=” count=” condition=” order=” cats=” tags=” ids=” layout=” show_category_tag=” filter_style=” show_meta=” column=” id=” title=” title_link=” heading_icon=” heading_bg=” layout=” heading_style=” view_all_text=”]

All parameters are optional

  • post_type – string – Name of Custom Post Type to query. Default is ‘post’
  • count – int – Number of posts to query. Default is 10
  • condition – select – Condition to query posts. Default is ‘latest’. Support ‘comment’, ‘view’ (require Top 10 plugin), ‘like’ (require WTI Like Post plugin), ‘random’
  • order – select – ASC or DESC
  • cats – string – List of category slugs or IDs, separated by comma
  • tags – string – List of tag slugs, separated by comma
  • ids – string – List of post IDs to query. If this param is used, other params are ignored
  • layout – select – Select default layout, from 1 to 9
  • show_category_tag – 1/0 – Show category tag on post thumbnail
  • filter_style – select – Choose style of category filter. Possible values: 1 (links), 2 (tags), 3 (carousel)
  • show_meta – 1/0 – Show post meta information
  • column – select – Choose number of columns to display. Possible values: 1, 2, 3, 4, 6
  • id – string – CSS ID of the grid
  • title – string – Title of the grid
  • title_link – URL – Full URL of the title, or the View All button
  • heading_icon – string – Name of CSS class for icon in heading
  • view_all_text – string – Text of View All link/button

Checkout our premium themes and plugins

https://www.cactusthemes.com

屏幕截图

  • Layout 1
  • Layout 2
  • Layout 3
  • Layout 4
  • Layout 5
  • Layout 6
  • Layout 7
  • Layout 8
  • Layout 9

安装

  1. Upload smart-post-grid.zip to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常见问题

Installation Instructions
  1. Upload smart-post-grid.zip to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

评价

2017 年 9 月 29 日
looks good but misses multiple post type query, just like any other grid plugin. Also misses the categories tag, only contains "view all".
2017 年 4 月 14 日 3 回复
I searched for a long time a plugin like this because it visually it fits perfectly in my theme. However, it needs a bit of work and also a bit of support. Since I'm an amateur, I've spent 3 weeks learning how to edit a plugin in order to fix issues with margins and grey lines covering the thumbnails.
阅读所有5条评价

贡献者及开发者

“Smart Post Grid” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Smart Post Grid”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志