PHPackages                             municipio/wp-plugin-modularity-posts-extensions - 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. municipio/wp-plugin-modularity-posts-extensions

ActiveWordpress-plugin

municipio/wp-plugin-modularity-posts-extensions
===============================================

Focused extensions for the built-in Posts module in modern Municipio installations.

0108↑125%1PHP

Since Jul 24Pushed 1mo agoCompare

[ Source](https://github.com/municipio-se/wp-plugin-modularity-posts-extensions)[ Packagist](https://packagist.org/packages/municipio/wp-plugin-modularity-posts-extensions)[ RSS](/packages/municipio-wp-plugin-modularity-posts-extensions/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Modularity Posts Extensions
===========================

[](#modularity-posts-extensions)

Modularity Posts Extensions adds focused display behavior from Municipio LTS to the Posts module built into modern Municipio. It extends that module without owning or replacing it, restoring Municipio Extended, or depending on the deprecated standalone Modularity plugin.

Supported first port
--------------------

[](#supported-first-port)

- The existing Posts module and its metadata remain the source of truth.
- `posts_display_as=mixed` is exposed as **Cards and list** without a write migration.
- The first two posts in Municipio's prepared order render as cards.
- Remaining posts render as a compact title list.
- Zero posts render no empty card or list shell; one or two posts render cards only.
- Existing title, preamble, card field choices, archive link, post order, sticky-post precedence, and post sources remain owned by Municipio.

Taxonomy display, slider combinations, pagination changes, new data sources, and other LTS Posts layouts are intentionally outside this release.

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

[](#installation)

Install `municipio/wp-plugin-modularity-posts-extensions` with Composer. Composer Installers places it in `wp-content/plugins/modularity-posts-extensions` through `extra.installer-name`.

The plugin supports modern Municipio only. The initial compatibility contract is verified against `helsingborg-stad/municipio` 6.43.2, where Modularity is bundled with the theme.

Data migration
--------------

[](#data-migration)

No activation or write migration runs. The plugin preserves the existing field key and `mixed` value, so imported modules become editable and render correctly as soon as the plugin is active. Deactivation leaves stored metadata untouched.

Extension points
----------------

[](#extension-points)

The plugin consumes these Municipio and ACF filters:

- `acf/render_field/key=field_571dfd4c0d9d9` renders the plugin-owned `mixed`option beside Municipio's current image choices without changing their field schema.
- `Modularity/Module/Posts/template` selects the plugin-owned composition for `mixed` only.
- `Modularity/Module/posts/TemplatePath` makes the plugin view discoverable during Modularity's initial template lookup.
- `/Modularity/externalViewPath` combines the plugin view root with Municipio's Posts partials after the template has been selected.

The private template allowlist in Municipio 6.43.2 intentionally falls back to list preparation for unknown saved values. The plugin uses that prepared post-object contract and stops routing all formats except `mixed`.

Layout and accessibility
------------------------

[](#layout-and-accessibility)

The plugin composes Municipio's current card, collection, typography, title, and archive-link partials. Plugin-owned CSS Grid uses the site's `--grid-gap` token and content-driven columns with an 18 rem minimum, without customer-specific breakpoints or copied LTS utilities.

Link semantics and interaction states remain owned by Municipio's components. The mixed view adds unique heading associations for list links and preserves link attributes prepared by Municipio.

Development
-----------

[](#development)

```
composer format
composer test
composer lint
```

###  Health Score

24

—

LowBetter than 30% of packages

Maintenance61

Regular maintenance activity

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 Bus Factor1

Top contributor holds 75% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8242740?v=4)[Fredrik Johansson](/maintainers/jeanfredrik)[@jeanfredrik](https://github.com/jeanfredrik)

---

Top Contributors

[![jeanfredrik](https://avatars.githubusercontent.com/u/8242740?v=4)](https://github.com/jeanfredrik "jeanfredrik (6 commits)")[![Tsubarah](https://avatars.githubusercontent.com/u/67978743?v=4)](https://github.com/Tsubarah "Tsubarah (2 commits)")

### Embed Badge

![Health badge](/badges/municipio-wp-plugin-modularity-posts-extensions/health.svg)

```
[![Health](https://phpackages.com/badges/municipio-wp-plugin-modularity-posts-extensions/health.svg)](https://phpackages.com/packages/municipio-wp-plugin-modularity-posts-extensions)
```

PHPackages © 2026

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