2017 © Pedro Peláez
 

wordpress-plugin hogan-grid

Card grid module for Hogan

image

dekodeinteraktiv/hogan-grid

Card grid module for Hogan

  • Monday, July 16, 2018
  • by dekode
  • Repository
  • 4 Watchers
  • 0 Stars
  • 3,137 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 9 Open issues
  • 29 Versions
  • 18 % Grown

The README.md

Card Grid Module for Hogan Build Status

Installation

Install the module using Composer composer require dekodeinteraktiv/hogan-grid or simply by downloading this repository and placing it in wp-content/plugins, (*1)

Usage

Module for displaying post types as cards in a grid. Two types content inclusion: static content and dynamic content., (*2)

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., (*3)

Dynamic content show card with content that is dynamically queried. Ex. showing the 3 newest posts from a selected post type and/or taxonomy., (*4)

Available filters

  • hogan/module/grid/heading/enabled (true/false). for disabling module header
  • hogan/module/grid/template/text-align - text align classname. Default center.
  • hogan/module/grid/static_content_post_types for including custom post types in the ACF relationship field for static content.
//default values
[
    '0' => 'post',
    '1' => 'page',
];

  • hogan/module/grid/static_content_relation_filters - which filters to use for the relationship field.
//default values
[
    '0' => 'search',
    '1' => 'post_type',
    '2' => 'taxonomy',
];
  • 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., (*5)

  • hogan/module/grid/dynamic_content_query - args to send to wp_query when fetching the posts., (*6)

  • 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.
//default values
[
    'post' => __( 'Posts', 'hogan-grid' ),
    'page' => __( 'Pages', 'hogan-grid' )
]
  • hogan/module/grid/dynamic_content_taxonomies - add taxonomies to use in dynamic selection. Ex. use:
function enable_dynamic_taxonomies() : array {
    return [ 'category', 'my_custom_taxonomy' ];
}
add_filter( 'hogan/module/grid/dynamic_content_taxonomies', __NAMESPACE__ . '\\enable_dynamic_taxonomies' );
  • hogan/module/grid/card_sizes - card sizes to use in module
//default values
[
    'small'  => __( 'Single', 'hogan-grid' ),
    'medium' => __( 'Double', 'hogan-grid' ),
    'large'  => __( 'Full', 'hogan-grid' ),
]

The Versions

16/07 2018

dev-gutenberg

dev-gutenberg https://github.com/DekodeInteraktiv/hogan-grid

Card grid module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

The Development Requires

19/06 2018

dev-master

9999999-dev https://github.com/DekodeInteraktiv/hogan-grid

Card grid module for Hogan

  Sources   Download

GPL-3.0 GPL-3.0-or-later

The Requires

 

The Development Requires

01/06 2018

dev-taxonomies

dev-taxonomies https://github.com/DekodeInteraktiv/hogan-grid

Card grid module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

The Development Requires

22/05 2018

1.2.1

1.2.1.0 https://github.com/DekodeInteraktiv/hogan-grid

Card grid module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

The Development Requires

22/05 2018

dev-hotfix/relative-position

dev-hotfix/relative-position https://github.com/DekodeInteraktiv/hogan-grid

Card grid module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

The Development Requires

22/05 2018

1.2.0

1.2.0.0 https://github.com/DekodeInteraktiv/hogan-grid

Card grid module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

The Development Requires

22/05 2018

dev-default-theme

dev-default-theme https://github.com/DekodeInteraktiv/hogan-grid

Card grid module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

The Development Requires

08/05 2018

dev-default-style

dev-default-style https://github.com/DekodeInteraktiv/hogan-grid

Card grid module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

The Development Requires

25/04 2018

1.1.11

1.1.11.0 https://github.com/DekodeInteraktiv/hogan-grid

Card grid module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

The Development Requires

25/04 2018

dev-update-build-script

dev-update-build-script https://github.com/DekodeInteraktiv/hogan-grid

Card grid module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

The Development Requires

12/04 2018

1.1.10

1.1.10.0 https://github.com/DekodeInteraktiv/hogan-grid

Card grid module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

The Development Requires

05/04 2018

1.1.9

1.1.9.0 https://github.com/DekodeInteraktiv/hogan-grid

Card grid module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

The Development Requires

04/04 2018

1.1.8

1.1.8.0 https://github.com/DekodeInteraktiv/hogan-grid

Card grid module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

The Development Requires

21/03 2018

dev-iss35

dev-iss35 https://github.com/DekodeInteraktiv/hogan-grid

Card grid module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

21/03 2018

1.1.7

1.1.7.0 https://github.com/DekodeInteraktiv/hogan-grid

Card grid module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

19/03 2018

1.1.6

1.1.6.0 https://github.com/DekodeInteraktiv/hogan-grid

Card grid module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

12/03 2018

1.1.5

1.1.5.0 https://github.com/DekodeInteraktiv/hogan-grid

Card grid module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

05/03 2018

1.1.4

1.1.4.0 https://github.com/DekodeInteraktiv/hogan-grid

Card grid module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

28/02 2018

1.1.3

1.1.3.0 https://github.com/DekodeInteraktiv/hogan-grid

Card grid module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

28/02 2018

dev-bug/exclude-cards

dev-bug/exclude-cards https://github.com/DekodeInteraktiv/hogan-grid

Card grid module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

27/02 2018

dev-filters/text-align-filter

dev-filters/text-align-filter https://github.com/DekodeInteraktiv/hogan-grid

Card grid module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

23/02 2018

1.1.2

1.1.2.0 https://github.com/DekodeInteraktiv/hogan-grid

Card grid module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

19/02 2018

1.1.1

1.1.1.0 https://github.com/DekodeInteraktiv/hogan-grid

Card grid module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

15/02 2018

1.1.0

1.1.0.0 https://github.com/DekodeInteraktiv/hogan-grid

Card grid module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

12/02 2018

1.0.3

1.0.3.0 https://github.com/DekodeInteraktiv/hogan-grid

Card grid module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

25/01 2018

dev-bug/clearfix-body

dev-bug/clearfix-body https://github.com/DekodeInteraktiv/hogan-grid

Card grid module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

24/01 2018

1.0.2

1.0.2.0 https://github.com/DekodeInteraktiv/hogan-grid

Card grid module for Hogan

  Sources   Download

GPL-3.0-or-later

The Requires

 

22/01 2018
11/01 2018