Releases: Max-Lythgoe/PDM-Blocks
Release list
Youtube Shorts fix
- Fixed youtube video block so that it supports youtube shorts
Accessibility Improvements
- Background images are now hidden from screen readers
- Menu can now be accessed with a keyboard
- Additional accessibility fixes were made
Fixed Update Issue
- Fixed issue that prevents updating (using github tokens. previously was 60 request/hr, now is 5,000/hr)
Small Fixes
- Fixed card button alignment after bg image change
- Fixed minor conflicts with header/footer scripts in block editor
Better Gallery + Card BG Media
- Gallery block is now easier to edit + has option to show captions
- Card block can now display background image / video if wanted
PHP Snippet fix
- PHP snippets now don't disable every snippet if there's an error
- Error notice can be dismissed instead of continually coming back
- Default snippets all renamed to ensure no errors with existing snippets
Breadcrumbs + Slideshow
- added breadcrumbs block: nicer way to output the rankmath breadcrumbs + better semantic HTML + easier to style
- updated Slideshow block to include lightbox option, updated arrow/dots styling to match other blocks
General Improvements
- Added option for menu dropdown icons (can select chevron, caret or no icon)
- Updated menu block so that if an anchor link is clicked, it will hide the mobile slideout from view so it doesn't remain open
- Updated php snippets to show error log if a snippet causes an error, import/export works more reliably
- Fixed small issue with media and content block that caused the image to have a small gap below it
Menu adjustments
-added option to set menu toggle position (default is center because the previous value was hardcoded to be center in the css). There's a slight chance this was somewhat alter some sites where it was overridden but not a huge deal + I'll double check most sites after updating
-adjusted menu animations slightly (removed some), made slide out full width on mobile
-adjusted mobile menu submenus so that the bg colors more clearly show which level they are on
-removed responsive controls that I just added because they'll be irrelevant soon (previous theme that used it will still work in the meantime, or use latest theme and try not to rely on it yet since it's getting replaced soon with core implementation)
-ensured new core blocks will not register to not conflict with PDM tabs, icons blocks
Small fix
- small fix that prevented saving with header/footer script