Skip to main content

6 posts tagged with "Gutenberg"

Gutenberg improvements

View All Tags

1.14.0 - Local Time Block, Bug Fixes

· One min read
Konstantin Brazhnik
Senior Full Stack Engineer @ Yoko Co
Léo Muniz
Senior Full Stack Engineer @ Yoko Co

Adds Local Time Gutenberg block. Adds allowed-role-[ROLE SLUG] classes to gated posts' body classes. Multisite site admins can add SVGs. Local Time Gutenberg block based on the [local_time] shortcode.

ADDS

  • [Local Time Block] Adds the native Gutenberg block "Local Time" to allow times to be converted from one timezone to another and/or to the browser's timezone. Uses the Local Time shortcode to render the block.
  • [Local Time Shortcode Docs] Flushes out the local time shortcode attribute documentation.
  • [Content Gating Role Classes] Adds allowed-role-[ROLE SLUG] classes to gated posts' body classes for personalization.

FIXES

  • **[Multisite] Multisite site admins (not super admins) can now add SVGs. This was added to make it possible for site admins to use The Icon Block Gutenberg block. Without this code, adding SVG icons fails because admins on multisites are not allowed to add unfiltered HTML by default in WordPress.

CHANGES

  • Updates Guzzler composer package to 6.5.8 for compatibility reasons.

1.13.1 - Content Protection Enhancements

· One min read
Sarah Lewis
Senior Full Stack Engineer @ Yoko Co
Konstantin Brazhnik
Senior Full Stack Engineer @ Yoko Co

Adds filters to control the inclusion of the Content Protection metabox on different post types and adjust the list of available roles. Adds event URL support in the Add to Calendar Gutenberg block. Fixes [yoko_content] shortcodes bugs that prevented shortcode values from working in blocks. eldest_parent_ types fallback to current post value if it has no parent.

ADDS

  • [Content Protection] Adds the yoko_sso_content_restriction_metabox_object_types filter to allow modification of the list of post types that will have the Content Protection metabox.
  • [Content Protection] Adds the yoko_sso_content_restriction_metabox_roles filter to allow modification of the list of roles available for selection in the Content Protection metabox.
  • [GUTENBERG] Adds support for eventUrl in the Add to Calendar Gutenberg block.

CHANGES

  • [Content Protection] Excludes media files from showing the Content Protection metabox by default; the client experience team reported this was causing confusion.

FIXES

  • [GUTENBERG] Fixes bug with shortcodes not working in the Add to Calendar block.
  • [SHORTCODES] eldest_parent_ types in the yoko_content fallback to the current post if parent is 0.

1.13.0 - Add to Calendar Block, [yoko_content] Shortcode

· One min read
Konstantin Brazhnik
Senior Full Stack Engineer @ Yoko Co

Introduces native Add to Calendar Gutenberg block. Adds the [yoko_content type="eldest_parent_title"] shortcode to fill the gaps on missing content relationship connections in existing page builders.

ADDS

  • [GUTENBERG] Adds the add to calendar Gutenberg block.
  • [SHORTCODES] Adds the [yoko_content type="eldest_parent_title"] shortcode.

CHANGES

  • [GUTENBERG] Updates boilerplate block demonstrate rendering and editing tools.

1.12.2 - Typesense Analytics, AQL Parent Posts Toggle

· One min read
Konstantin Brazhnik
Senior Full Stack Engineer @ Yoko Co

Typesense analytics tracking for non-admins only, env changes disconnect from Typesense servers. Adds Parent posts only toggle to Advanced Query Loop block. PDF Viewer search can be populated through URL.

ADDS

CHANGES

  • [TYPESENSE] Only outputs error_log messages if WP_DEBUG is true.
  • [TYPESENSE] By default, analytics is only tracked for non-admin WP users.
  • [TYPESENSE] Search With Typesense server credentials are removed when the environment changes to prevent unintended indexing from the wrong domain.
  • [PDF VIEWER] PDF Viewer can have search query prepopulated from the domain by adding #search=[SEARCH QUERY] at the end of the PDF attachment media post's URL.

1.11.0 - Blocks, Hierarchical Posts, and Bugs

· One min read
Konstantin Brazhnik
Senior Full Stack Engineer @ Yoko Co

This release introduces customizations of Hierarchical Posts to make them easier to manage including via extensions to the native Navigation and Post Title block to make it easy to create sub-menus with FSE. Also fixes bugs with Yoko User detection in the admin dashboard, relational taxonomy compatibility with FacetWP and the HeroIcon shortcode.

ADDS

  • [HIERARCHICAL CPT] Adds subpages column to hierarchical post types that aren't pages
  • [HIERARCHICAL CPT] Adds metafield fallback from child to parent for hierarchical post types when meta is looked up but is empty on child
  • [GUTENBERG] Adds "Use Child Pages" option to core navigation block.
  • [GUTENBERG] Adds "Use Parent Title" option to core title block to render parent's title from child page.

FIXES

  • [ADMIN] Simplifies Yoko User detection in admin for better compatibility on multisite.
  • [RELTAX] Fixes bug in which Relational Taxonomies were being registered too late for FacetWP to detect.
  • [SHORTCODES] Fixes bug in HeroIcons shortcode.

1.10.0 - Child Posts Nav Block & Bug Fixes

· One min read
Konstantin Brazhnik
Senior Full Stack Engineer @ Yoko Co

Adds "Show Child Pages" option to core WordPress Navigation Gutenberg block to render navigation for heirarchical post types. Fixes bug with Add to Calendar shortcode that miscalculated the duraction of multi-day, full-day events.

FIXES

  • Fixes issue with Add to Calendar shortcode and Beaver Builder module miscalculating the length of a multi-day, all-day event.

ADDS

  • Adds "Show Child Pages" option to native WP navigation block to render child pages on pages like micro-sites or large events with sophisticated sub-navigation requirements.