PHPackages                             dekodeinteraktiv/hogan-grid - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. dekodeinteraktiv/hogan-grid

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

dekodeinteraktiv/hogan-grid
===========================

Card grid module for Hogan

1.4.2(4y ago)012.5k[9 issues](https://github.com/DekodeInteraktiv/hogan-grid/issues)GPL-3.0-or-laterPHPPHP &gt;=7.0

Since Jan 11Pushed 4y ago8 watchersCompare

[ Source](https://github.com/DekodeInteraktiv/hogan-grid)[ Packagist](https://packagist.org/packages/dekodeinteraktiv/hogan-grid)[ Docs](https://github.com/DekodeInteraktiv/hogan-grid)[ RSS](/packages/dekodeinteraktiv-hogan-grid/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (10)Dependencies (3)Versions (25)Used By (0)

Card Grid Module for [Hogan](https://github.com/dekodeinteraktiv/hogan-core) [![Build Status](https://camo.githubusercontent.com/20c3467a7d9e6fcf635b98696b0dedc900cebeea6d6df6ea44169f5350b0ce7b/68747470733a2f2f7472617669732d63692e6f72672f44656b6f6465496e746572616b7469762f686f67616e2d677269642e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/DekodeInteraktiv/hogan-grid)
=============================================================================================================================================================================================================================================================================================================================================================================================

[](#card-grid-module-for-hogan-)

Installation
------------

[](#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
-----

[](#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
-----------------

[](#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' ),
]

```

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~67 days

Recently: every ~310 days

Total

23

Last Release

1602d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/134094556?v=4)[dekode](/maintainers/dekode)[@Dekode](https://github.com/Dekode)

---

Top Contributors

[![stian-overasen](https://avatars.githubusercontent.com/u/16900754?v=4)](https://github.com/stian-overasen "stian-overasen (6 commits)")[![dekode-kevin](https://avatars.githubusercontent.com/u/53810762?v=4)](https://github.com/dekode-kevin "dekode-kevin (1 commits)")[![kajinkd](https://avatars.githubusercontent.com/u/26115069?v=4)](https://github.com/kajinkd "kajinkd (1 commits)")[![pederan](https://avatars.githubusercontent.com/u/527656?v=4)](https://github.com/pederan "pederan (1 commits)")

---

Tags

acfdekode-hoganhoganphp

### Embed Badge

![Health badge](/badges/dekodeinteraktiv-hogan-grid/health.svg)

```
[![Health](https://phpackages.com/badges/dekodeinteraktiv-hogan-grid/health.svg)](https://phpackages.com/packages/dekodeinteraktiv-hogan-grid)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.3k10](/packages/helsingborg-stad-municipio)[mautic/core

Mautic Open Source Distribution

9.8k2.6k9](/packages/mautic-core)[roots/wp-stage-switcher

WordPress plugin that allows you to switch between different environments from the admin bar

374458.3k3](/packages/roots-wp-stage-switcher)[vinkla/wordplate

The WordPlate boilerplate

2.2k5.3k](/packages/vinkla-wordplate)[mediawiki/maps

Adds various mapping features to MediaWiki

78149.7k3](/packages/mediawiki-maps)[rainlab/blog-plugin

Blog plugin for October CMS

17158.6k](/packages/rainlab-blog-plugin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
