Download the PHP package dekodeinteraktiv/hogan-grid without Composer
On this page you can find all versions of the php package dekodeinteraktiv/hogan-grid. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dekodeinteraktiv/hogan-grid
More information about dekodeinteraktiv/hogan-grid
Files in dekodeinteraktiv/hogan-grid
Package hogan-grid
Short Description Card grid module for Hogan
License GPL-3.0-or-later
Homepage https://github.com/DekodeInteraktiv/hogan-grid
Informations about the package hogan-grid
Card Grid Module for Hogan
Installation
Install the module using Composer composer require dekodeinteraktiv/hogan-grid
or simply by downloading this repository and placing it in wp-content/plugins
Usage
Module for displaying post types as cards in a grid. Two types content inclusion: static content and dynamic content.
Static content is setting a specific post as a card in the module. Ex. picking a specific article, page or post from a custom post type.
Dynamic content show card with content that is dynamically queried. Ex. showing the 3 newest posts from a selected post type and/or taxonomy.
Available filters
hogan/module/grid/heading/enabled (true/false).
for disabling module headerhogan/module/grid/template/text-align
- text align classname. Defaultcenter
.-
hogan/module/grid/static_content_post_types
for including custom post types in the ACF relationship field for static content. -
hogan/module/grid/static_content_relation_filters
- which filters to use for the relationship field. hogan/module/grid/static_content_taxonomy
- which taxonomies to allow content for in the relationship field (default empty array).-
hogan/module/grid/static_content_limit
- max number static posts allowed in module. Default no limit. hogan/module/grid/dynamic_content_query
- args to send to wp_query when fetching the posts.hogan/module/grid/dynamic_content_post_types
- array with post types to allow in dynamic selection.-
hogan/module/grid/dynamic_content_limit
- max number dynamic posts allowed in module. Default 10. -
hogan/module/grid/dynamic_content_taxonomies
- add taxonomies to use in dynamic selection. Ex. use: hogan/module/grid/card_sizes
- card sizes to use in module
All versions of hogan-grid with dependencies
composer/installers Version ~1.2
dekodeinteraktiv/hogan-core Version >=1.1.7