municipio/wp-theme-municipio
Composer 安装命令:
composer require municipio/wp-theme-municipio
包简介
A bootstrap theme for creating municipality sites.
README 文档
README
This WordPress theme is a Municipio LTS version of the Municipio theme v4.25.0.
Changes in this Fork
This LTS version includes substantial performance improvements and new functionality. Database query caching has been implemented for slow operations, and unused performance-impacting code has been removed. The theme now uses get_option instead of get_field for checking default post types, significantly improving load times.
New features include ReadSpeaker integration support, one-page template enhancements with navigation buttons and content display options, and an under-hero widget area. The theme now supports custom link targets, additional secondary navigation options, and content sections above and below article content through new hooks.
Archive functionality has been improved with better filtering, taxonomy information on post objects, and fixes for z-index issues. Post age notices now handle default posts and account for modified dates. The customizer includes new filters for archive styles and button configurations.
Security and accessibility improvements include disabling custom code input and advanced HTML tags by default, adding attributes to inline script tags, and fixing various template routing and styling issues. Multiple new filters and hooks have been added for better theme customization and extensibility.
New WordPress Hooks
This fork adds the following WordPress hooks for enhanced customization:
Filters:
Municipio/Hook/showSiteNameInSearchResult- Control site name display in search resultsMunicipio/Helper/Post/EmptyExcerpt- Modify empty excerpt handlingMunicipio/Admin/EnableMetaDataPlugin- Control metadata plugin activationMunicipio/Admin/AllowAdvancedHtmlTags- Control advanced HTML tags in editorMunicipio/Hook/searchFormValidation- Customize search form validationMunicipio/Customizer/Sections/Archive/archiveStyleChoices- Modify archive style optionsMunicipio/CustomPostType/args- Modify custom post type argumentsMunicipio/views/page-centered/content-area/show- Control centered page content area displayMunicipio/allowCustomCode- Control custom code input availabilityMunicipio/views/partials/sidebar/classes- Modify sidebar CSS classesMunicipio/Customizer/Sections/Button/*/kirkiFieldArgs- Modify button customizer fieldsMunicipio/Admin/Acf/ImageAltTextValidation/getAltText- Customize image alt text validation
Actions:
Municipio/Hook/articleContentBefore- Add content before article contentMunicipio/Hook/articleContentAfter- Add content after article contentMunicipio/Customizer/Sections/Archive/init- Hook into archive customizer initialization
Installation
- Install the package:
composer require municipio/wp-theme-municipio
- Activate the theme in WordPress.
municipio/wp-theme-municipio 适用场景与选型建议
municipio/wp-theme-municipio 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 482 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 11 月 18 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 municipio/wp-theme-municipio 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 municipio/wp-theme-municipio 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 482
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 7
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2025-11-18