Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Smart Post Grid

Beskrivning

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

Skärmdumpar

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

Installation

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

Vanliga frågor

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

Recensioner

29 september 2017
looks good but misses multiple post type query, just like any other grid plugin. Also misses the categories tag, only contains ”view all”.
14 april 2017 3 svar
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.
Läs alla 5 betyg

Bidragsgivare och utvecklare

”Smart Post Grid” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Smart Post Grid” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.