Release 4.8.0
Version 4.8.0 of Municipio
Version 4.8.0 of Municipio introduces significant updates to the menu system, which has been completely refactored under the hood.
Municipio Theme (v5.48.3)
-
Completely refactors the menu system to support multiple menus in a single location, creating a more flexible menu system. This renders in a smarter, more efficient way. This release adds support for:
- Multiple menus per menu location (enabled in drawer menu).
- Mixed menu mode: Define menu items and let the fallback page tree render the rest of the menu.
-
A patch has been applied to the Customizer’s Design Share feature to prevent rendering an empty panel without an explanation. The
DISABLE_DESIGNSHARE
constant has been replaced and now exclusively responds to the “published” blog option. -
Images lacking a cover parameter will automatically resolve their aspect ratio to avoid overlapping with any content. This will be resolved either by the requested size (if width and height are given) or from the URL (via the size string, e.g.,
100x100
will equal toaspect-ratio: 100/100
). -
The
IntlDateFormatter
will now handle UTC offset strings and make them IANA compatible to parse dates correctly. -
A small fix for stripping timestamps from dates in the job schema type has been added.
Modularity (v6.38.0)
-
The contact module now uses the new
data-tooltip
to display numbers and email addresses in a readable format. -
A feature has been added to enable cross-network queries in the Posts module.
-
A fix for event dates has been added to the Posts module, now correctly displaying the start date as the published date.
-
The edit modules link now appears correctly in the Gutenberg editor.
-
Users can now select a custom icon for each item in the manual input module.
-
The menu module now supports the new version of menu outputs.
Styleguide (v0.11.1152)
- A
data-tooltip
may now be added to any element to display a tooltip with the value of the data parameter.