WP Manifestindependent plugin directory
manifest / content / hogan-grid

Hogan Module: Grid WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA

Card grid module for Hogan

★ 0stars
12kcomposer installs
1.4.2latest · 4 years ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/dekodeinteraktiv/hogan-grid/archive/refs/heads/master.zip

On Packagist as dekodeinteraktiv/hogan-grid:

composer require dekodeinteraktiv/hogan-grid
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

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

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 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.

- `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.

//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' ), ]

Releases

23 releases.

Tag
Published
1.4.2 latest
Feb 3, 2022 4 years ago
Dec 6, 2018 7 years ago
Oct 23, 2018 8 years ago
Sep 17, 2018 8 years ago
1.3
Sep 11, 2018 8 years ago
May 22, 2018 8 years ago
May 22, 2018 8 years ago
Apr 25, 2018 8 years ago
Apr 12, 2018 8 years ago
Apr 5, 2018 8 years ago
Apr 4, 2018 8 years ago
Mar 21, 2018 8 years ago
Mar 19, 2018 8 years ago
Mar 12, 2018 8 years ago
Mar 5, 2018 8 years ago
Feb 28, 2018 8 years ago
Feb 23, 2018 8 years ago
Feb 19, 2018 8 years ago
Feb 15, 2018 8 years ago
Feb 12, 2018 8 years ago
Jan 24, 2018 8 years ago
Jan 22, 2018 8 years ago
Jan 11, 2018 8 years ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.

A grade

Security

Hogan Module: Grid 1.4.2 · audited by WP Registry

No security issues found.

Audited release
1.4.2
Findings
none
Worst severity
—
Content hash
0e39bd1bb1dfdbdc92c1a5ba…

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.