Skip to content

Releases: maithemewp/mai-engine

Mai Engine v2.35.0

05 Dec 15:36
Compare
Choose a tag to compare

2.35.0 (12/5/24)

  • Added: [WooCommerce] Better compatibility with WooCommerce Cart and Checkout blocks.
  • Added: [FacetWP] Now allow FacetWP on a single Mai Post Grid instance by adding facetwp-template class to the block.
  • Added: New current value can be used for id and post_type parameters in mai_content shortcode.
  • Added: New --button-outline-width custom prop to more consistently override outline button styles.
  • Added: Prior —viewport-width property is now included again.
  • Changed: Reusable Blocks are now Synced Patterns to stay aligned with WP terminology.
  • Changed: Update ACF to 6.3.11.
  • Changed: Update Gulp to 5.0.0.
  • Changed: Removed legacy genesis-accessibility attribute for 404-page.
  • Changed: More through and simpler encoding handling with PHP's DOMDocument.
  • Changed: Better handling of post exclusion when using Mai Post Grid.
  • Changed: Using 100svh instead of 100dvh for body height.
  • Changed: Now using less specific :has() for CSS class checks.
  • Changed: Add transient caching to classic editor styles from customizer.
  • Changed: Tweak order of processing in mai_get_processed_content().
  • Changed: Sticky header is now disabled in landscape mode on mobile.
  • Changed: CSS is now on :focus-visible instead of :focus better visual handling of non-keyboard enabled focus.
  • Changed: CSS grid now uses minmax() instead of 1fr in some scenarios to prevent grid blowout.
  • Changed: [Performance] More efficient get_terms() queries when we only need id and name.
  • Changed: [Performance] Only run ACF field filters in the admin, when loading field data dynamically.
  • Changed: Disable preloading of featured and page header images. This was often causing more issues than it was helping.
  • Changed: Convert DOMDocument to WP_HTML_Tag_Processor for Mai custom attributes.
  • Changed: Convert DOMDocument to WP_HTML_Tag_Processor for WooCommerce button classes.
  • Changed: Check if post type exists after mai_grid_post_types filter.
  • Changed: Validate ACF fields that don't use field_ as the field key prefix.
  • Changed: Added prefixes for our ACF field groups that didn't have one.
  • Changed: Update the updater.
  • Fixed: Social links gap when inside Mai Columns.
  • Fixed: Full aligned blocks did not always display correctly in the editor, particularly when nested, and/or when the content alignment was left or right.
  • Fixed: Wide aligned blocks were sometimes cut off in the editor.
  • Fixed: Mai Divider was not showing full width when inside Group/Cover block with content aligned left/right.
  • Fixed: Comments had unexpected list margin in some scenarios.
  • Fixed: The has-z-index-2 wasn't applying the correct z-index of 2.
  • Fixed: Search block was not centering correctly in some scenarios, when set to be center aligned.
  • Fixed: Author description not always showing correctly on the author archive.
  • Fixed: Invalid markup in page header when a category/term has no intro text.
  • Fixed: Site title was not always white when using a dark transparent header.
  • Fixed: Menu toggle text color was not styed correctly when screen-reader-text class is removed.
  • Fixed: Accent color being applied unexpectedly on select fields in some browsers, looking at you Safari.
  • Fixed: Select field now sets min-height instead of height.
  • Fixed: Removed the "remove global styles" setting to maintain compatibility with WP and fix "Missing Dependencies" error.

Mai Engine v2.34.1

18 Apr 18:13
Compare
Choose a tag to compare

Changelog

2.34.1 (4/18/24)

  • Changed: Order of processing in mai_get_processed_content() to match get_the_block_template_html() function in WP core.
  • Fixed: The Setup Wizard missing steps for some users.

2.34.0 (4/9/24)

  • Added: Support for the new "Mai Side Hustle" theme.
  • Added: New "Alternate" typography/font setting.
  • Added: New "Alternate" block style option on Paragraph and Heading blocks, to use the new "Alternate" font settings in the Customizer.
  • Added: New "Oval" divider option. Props Jo Waltham.
  • Added: New XXL title size option in Customizer content archive settings and Mai Post/Term Grid title size block settings.
  • Added: New Custom Content 2 setting for Customizer Single/Archive COntent settings and Mai Post/Term Grid blocks.
  • Added: Better default styling for the core Query block.
  • Added: [Developers] New has-line-height-1, has-line-height-xs, has-line-height-sm, and has-line-height-md` helper classes to override default line-height values.
  • Added: [Developers] New mai_has_dark_background_first filter for custom handling of dark transparent header background.
  • Added: [Developers] Override WP Recipe Maker buttons/styles for better theme integration with mai_enable_wprm_support filter (false by default). Basic styling support is still always loaded.
  • Added: [Developers] New --button-outline-width css custom property to override the button border width without overriding other border styles.
  • Changed: Minor list styling tweaks on front end and in the editor.
  • Changed: Tightened up default body line-height as well as specific areas like archive/grid excerpts, breadcrumbs, and more.
  • Changed: Exclude Gravity Forms and WP Forms field labels from default styling so their forms are more consistently styled.
  • Changed: [WooCommerce] Better styling for order details/meta and quantity input.
  • Changed: [LearnDash] Better styling for deeper visual integration with the theme/settings.
  • Changed: Update ACF to 6.2.9.
  • Changed: More z-index tweaks so overlap and stacking is more natural and expected.
  • Changed: Allow shortcodes, etc. in single content excerpt.
  • Changed: Mai Divider now only uses -.5px to handle the slight gap sometimes caused by pixel rounding in some browsers.
  • Changed: Better handling of input placeholder color.
  • Changed: Update the updater.
  • Fixed: Mai Columns was wrapping unexpectedly, more often in the editor.
  • Fixed: Logo not inverting on the login page when using the setting to force the logo to white on dark backgrounds.
  • Fixed: Better styling of the Search block, including when using the width settings.
  • Fixed: Some logic from the setup wizard was running outside of the setup wizard itself.
  • Fixed: The icon field picker on various blocks was showing SVG markup instead of the actual icon.
  • Fixed: Alignment settings on Embed blocks not working correctly.
  • Fixed: Better handling of non-existent taxonomies in Mai Post/Term Grid blocks. This was causing some issues when an instance of the block was configured with a taxonomy that was no longer registered, typically by deactivating a plugin that registered a custom taxonomy.
  • Fixed: Inline highlights when using link color as the color setting.
  • Fixed: Competing filter-hover declarations in CSS. Now developers only need to use --menu-item-name-filter-hover custom property in CSS to remove the brightness dimming of menu items with a dark header.
  • Fixed: Better spacing/styling of LearnDash content by adding entry-content class to the ld-tab-content div.
  • Fixed: Better handling of dark/transparent header when registered gradients are used in config.php.
  • Fixed: Using square brackets in the post title was breaking aria-label in Mai Post/Term Grid.
  • Fixed: The display_post_states filter adding "Active" Content Area was running on the front end unnecessarily.

2.33.1 (2/7/24)

  • Added: [Developers] Add entry-grid order to the editor CSS.
  • Added: New has-z-index-2 helper class along with the existing has-z-index-1, has-z-index-0, and has-z-index--1 classes.
  • Changed: Update ACF to 6.2.6.1.
  • Fixed: The font_size param on [mai_menu] shortcode was not working correctly for custom values.
  • Fixed: Negative margin on nested elements was not overlapping correctly in some configurations.
  • Fixed: Unwanted vertical scroll on ACF top tabs in the block editor.

2.33.0 (1/30/24)

  • Added: New setting to force the logo to white on dark backgrounds (dark header or transparent header background). Find the setting in Customizer > Theme Settings > Site Header.
  • Added: [Developers] New mai_before_entry and mai_after_entry action hooks.
  • Added: [Developers] New mai_get_index() function to increment and reset an index/count based on context string.
  • Changed: Adds CSS order/index to Mai Post/Term Grid entries.
  • Fixed: Escapes aria-label attribute in entry titles, so HTML in the editor title field won't break the markup.

2.32.2 (1/19/24)

  • Fixed: Even more efficient JS to change no-js to js class on the body. In some instances, this class change was not firing.

2.32.1 (1/19/24)

  • Fixed: Encoded special characters were displayed on the front end in some configurations.

2.32.0 (1/18/24)

  • Added: Better support for WP Recipe Maker. Recipe buttons now inherit styling from Mai.
  • Changed: Update ACF to 6.2.5.
  • Changed: Simplified inline script to toggle no-js to js body class if JS is enabled in the browser.
  • Fixed: Clean up confusing notices from ACF.
  • Fixed: Remove unnecessary encoding in PHP's DOMDocument which was unintentionally encoding some special characters from non-English languages.

2.31.3 (1/8/24)

  • Fixed: Added back updater icon functions.

2.31.2 (1/8/24)

  • Changed: Now Load core getter functions immediately instead of after_setup_theme.
  • Fixed: Cover block overlay was not rendering correctly when using Link as the overlay color.

2.31.1 (12/28/23)

  • Added: Better PHP 8.2 compatibility.
  • Changed: Element stacking via z-index is now less aggressive by default. This fixes some edge-case scenarios where floating elements are behind other elements on the page.
  • Changed: Converts has-link-background-color to has-links-background-color to fix WP 6.4 compatibility issue. This was causing some color choices to remove the background color from the element.
  • Changed: Only apply hidden-{break} and hidden-{break}-down/up classes on the front end. These classes were causing elements to be hidden in the editor.
  • Changed: Better compatibility with the latest version of Mai Archive Pages plugin.
  • Changed: CSS styling consistencies for Latest Posts block.
  • Fixed: Latest Posts block now correctly shows the "Read more" link.

2.31.0 (11/28/23)

  • Added: PHP 8.2 compatibility.
  • Added: ACF sidebar metaboxes now match WordPress core styling.
  • Changed: Update ACF to 6.2.4.
  • Changed: Converts has-link-color to has-links-color to fix WP 6.4 compatibility issue. This was causing some color choices to force text to the Mai link color value.

2.30.4 (11/8/23)

  • Fixed: Wrong closing tag on inline style causing broken or missing JS notice in the block editor in some scenarios.
  • Fixed: Force all attributes in mai_get_image_src_srcset_sizes() for scenarios where a plugin filters the values and removes some required attributes.

2.30.3 (10/25/23)

  • Added: Support for Mai Studio Real Estate demo.
  • Changed: Update ACF to 6.2.2.
  • Changed: Style improvements for Genesis eNews Extended widget.
  • Fixed: Cover block markup logic not applying in some configurations when the wrapper element is not a div.
  • Fixed: Search block styles updated with changes in WP styles.
  • Fixed: Hide entry custom content element if it's empty.
  • Fixed: Duplicate style tags on some block svg icons in the editor.
  • Fixed: Preload sometimes using the wrong image on mobile.
  • Fixed: Scroll logo CSS wrongfully affecting site logo block.
  • Fixed: Blog archive posts per page not pulling correct value in some configurations.

2.30.2 (8/25/23)

  • Fixed: Broken inline CSS on Cover blocks in some configurations.

2.30.1 (8/16/23)

  • Fixed: Custom inline styles breaking when buttons had multiple customizations like custom font sizes and colors.

2.30.0 (8/16/23)

  • Added: Support for AIOSEO breadcrumbs.
  • Changed: Update ACF to 6.2.0.
  • Changed: Show all markup when - displaying full content of an entry.
  • Changed: Cover block markup is now manipulated via WP_HTML_Tag_Processor instead of PHP DOMDocument.
  • Fixed: Conflict with a new change in WP 6.3 where Cover block has overflow clip/hidden added and cuts off overlap from inner blocks.

2.29.1 (6/28/23)

  • Changed: Update ACF to 6.1.7.

2.29.0 (6/26/23)

  • Changed: Mai Post/Term Grid “no results” text now respects text alignment setting.
  • Changed: Update Kirki to 4.2.0.
  • Fixed: Multiple custom classes on Mai Post/Term Grid were getting joined into a single class.

2.28.2 (6/21/23)

  • Added: Better compatibility when using core Post Content and Post Featured Image blocks.
  • Added: [Developers] New $mai_term global variable for terms in the loop via Mai Term Grid block.
  • Changed: Renamed Mai Design Pack to Mai Theme Pro.
  • Changed: Added more side spacing to the default select field styling.
  • Changed: Update dependencies.
  • Fixed: Layout setting per-post not working correctly in some scenarios.
  • Fixed: Entry images not filling container when showing left/right full.
  • Fixed: Social icons alignment in editor was not working in some configurations.
  • Fixed: Function does not exist error for a Genesis function in some edge-case scenarios.
  • Fixed: Unexpected border showing on some entry images in Mai Chic.

2.28.1 (5/10/23)

  • Fixed: Wrong ID being returned on front page for site layout in some scenarios.
  • Fixed: Replace deprecated get_page_by_title() function.
  • Fix...
Read more

Mai Engine v2.34.0

09 Apr 16:07
Compare
Choose a tag to compare

2.34.0 (4/9/24)

  • Added: Support for the new "Mai Side Hustle" theme.
  • Added: New "Alternate" typography/font setting.
  • Added: New "Alternate" block style option on Paragraph and Heading blocks, to use the new "Alternate" font settings in the Customizer.
  • Added: New "Oval" divider option. Props Jo Waltham.
  • Added: New XXL title size option in Customizer content archive settings and Mai Post/Term Grid title size block settings.
  • Added: New Custom Content 2 setting for Customizer Single/Archive COntent settings and Mai Post/Term Grid blocks.
  • Added: Better default styling for the core Query block.
  • Added: [Developers] New has-line-height-1, has-line-height-xs, has-line-height-sm, and has-line-height-md` helper classes to override default line-height values.
  • Added: [Developers] New mai_has_dark_background_first filter for custom handling of dark transparent header background.
  • Added: [Developers] Override WP Recipe Maker buttons/styles for better theme integration with mai_enable_wprm_support filter (false by default). Basic styling support is still always loaded.
  • Added: [Developers] New --button-outline-width css custom property to override the button border width without overriding other border styles.
  • Changed: Minor list styling tweaks on front end and in the editor.
  • Changed: Tightened up default body line-height as well as specific areas like archive/grid excerpts, breadcrumbs, and more.
  • Changed: Exclude Gravity Forms and WP Forms field labels from default styling so their forms are more consistently styled.
  • Changed: [WooCommerce] Better styling for order details/meta and quantity input.
  • Changed: [LearnDash] Better styling for deeper visual integration with the theme/settings.
  • Changed: Update ACF to 6.2.9.
  • Changed: More z-index tweaks so overlap and stacking is more natural and expected.
  • Changed: Allow shortcodes, etc. in single content excerpt.
  • Changed: Mai Divider now only uses -.5px to handle the slight gap sometimes caused by pixel rounding in some browsers.
  • Changed: Better handling of input placeholder color.
  • Changed: Update the updater.
  • Fixed: Mai Columns was wrapping unexpectedly, more often in the editor.
  • Fixed: Logo not inverting on the login page when using the setting to force the logo to white on dark backgrounds.
  • Fixed: Better styling of the Search block, including when using the width settings.
  • Fixed: Some logic from the setup wizard was running outside of the setup wizard itself.
  • Fixed: The icon field picker on various blocks was showing SVG markup instead of the actual icon.
  • Fixed: Alignment settings on Embed blocks not working correctly.
  • Fixed: Better handling of non-existent taxonomies in Mai Post/Term Grid blocks. This was causing some issues when an instance of the block was configured with a taxonomy that was no longer registered, typically by deactivating a plugin that registered a custom taxonomy.
  • Fixed: Inline highlights when using link color as the color setting.
  • Fixed: Competing filter-hover declarations in CSS. Now developers only need to use --menu-item-name-filter-hover custom property in CSS to remove the brightness dimming of menu items with a dark header.
  • Fixed: Better spacing/styling of LearnDash content by adding entry-content class to the ld-tab-content div.
  • Fixed: Better handling of dark/transparent header when registered gradients are used in config.php.
  • Fixed: Using square brackets in the post title was breaking aria-label in Mai Post/Term Grid.
  • Fixed: The display_post_states filter adding "Active" Content Area was running on the front end unnecessarily.

Mai Engine v2.33.1

07 Feb 16:10
Compare
Choose a tag to compare

2.33.1 (2/7/24)

  • Added: [Developers] Add entry-grid order to the editor CSS.
  • Added: New has-z-index-2 helper class along with the existing has-z-index-1, has-z-index-0, and has-z-index--1 classes.
  • Changed: Update ACF to 6.2.6.1.
  • Fixed: The font_size param on [mai_menu] shortcode was not working correctly for custom values.
  • Fixed: Negative margin on nested elements was not overlapping correctly in some configurations.
  • Fixed: Unwanted vertical scroll on ACF top tabs in the block editor.

Mai Engine v2.33.0

30 Jan 16:36
Compare
Choose a tag to compare

2.33.0 (1/30/24)

  • Added: New setting to force the logo to white on dark backgrounds (dark header or transparent header background). Find the setting in Customizer > Theme Settings > Site Header.
  • Added: [Developers] New mai_before_entry and mai_after_entry action hooks.
  • Added: [Developers] New mai_get_index() function to increment and reset an index/count based on context string.
  • Changed: Adds CSS order/index to Mai Post/Term Grid entries.
  • Fixed: Escapes aria-label attribute in entry titles, so HTML in the editor title field won't break the markup.

Mai Engine v2.32.2

19 Jan 21:22
Compare
Choose a tag to compare

Mai Engine v2.32.1

19 Jan 19:53
Compare
Choose a tag to compare

Mai Engine v2.31.3

08 Jan 21:08
Compare
Choose a tag to compare

Mai Engine v2.31.2

08 Jan 20:54
Compare
Choose a tag to compare

Mai Engine v2.31.1

28 Dec 17:42
Compare
Choose a tag to compare