municipio/wp-plugin-modularity-posts-extensions 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

municipio/wp-plugin-modularity-posts-extensions

Composer 安装命令:

composer require municipio/wp-plugin-modularity-posts-extensions

包简介

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

README 文档

README

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

  • 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

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

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

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

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

composer format
composer test
composer lint

municipio/wp-plugin-modularity-posts-extensions 适用场景与选型建议

municipio/wp-plugin-modularity-posts-extensions 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 07 月 15 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 municipio/wp-plugin-modularity-posts-extensions 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 municipio/wp-plugin-modularity-posts-extensions 我们能提供哪些服务?
定制开发 / 二次开发

基于 municipio/wp-plugin-modularity-posts-extensions 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-07-15