Skip to main content

1.13.7 - Adds filters and front-end classes

· One min read
Sarah Lewis
Senior Full Stack Engineer @ Yoko Co
Léo Muniz
Senior Full Stack Engineer @ Yoko Co

Adds filters to control the display of CPTSync buttons on the editor and post listing screens. Adds front-end classes to indicate availability of a featured image. Fixes a timezone WP Activity Log integration error.

ADDS

  • [CPTSync] Adds the yoko_sync_get_source_id filter to allow modification of the AMS ID returned from get_source_id().
  • [CPTSync] Adds the yoko_sync_invalid_source_id_message filter to allow modification of the Invalid Source ID message.
  • [CPTSync] Adds the yoko_sync_box_post_id filter to allow modification of the post ID used for re-sync and audit buttons on the editor screen.
  • [CPTSync] Adds the yoko_sync_admin_column_post_id filter to allow modification of the post ID used for re-sync and audit buttons on the post listing screen.
  • [FRONT-END CLASSES] Adds has-featured-image and no-featured-image body and post classes for use in front-end styling.

FIXES

  • WP Activity Log integration error - Timezone fallback for multisites when on a subsite doesn't have timezone_string WP option.

1.13.5 - Reverts CMB2 to 2.4.x

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

Fixes conflict with CMB2 version 2.88.x by reverting it back to 2.4.x. Also fixes issue with Admin CSS only rendering for Yoko Users. Admin CSS now renders for all admin dashboard loads.

FIXES

  • [CMB2] Reverts CMB2 to version 2.4.x due to bug. Flushes composer.json.
  • [ADMIN] Fixes bug where Admin CSS would not load for all users and only for Yoko Users.

1.13.4 - Admin CSS, Typesense Search Exclude

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

This update introduces a new Yoko Options page for admin users, allowing custom CSS injection in the WordPress Admin Dashboard and easier targeting of user roles. It also adds an "Exclude from Typesense" option for search integration, and improves shortcode handling for external styles and scripts in the URLProxy class. Additionally, a bug with Beaver Builder's HeroIcons color selector is fixed, and the CMB2 library is updated to version 2.88.x.

ADDS

  • [ADMIN] Adds a Yoko Options page with options only accessible to Yoko team members. Added first option called "Admin CSS" for injecting CSS in WP Admin Dashboard.
  • [ADMIN] Adds role-[ROLE SLUG] call to the WP admin dashboard for easy CSS/JS targetting of specific roles.
  • [TYPESENSE] Adds the "Exclude from Typesense" metabox when Search with Typesense plugin is being used.
  • [SHORTCODE] Adds support for rewriting href attributes on external style tags and src attributes on javascript tags in the URLProxy.php class.

FIXES

  • [BEAVER BUILDER] Fixes Beaver Builder HeroIcons color selector bug.

CHANGES

  • [CMB2] Bumps CMB2 up to version 2.88.x.

1.13.3 - Hierarchical Post Type Adjustments

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

Adds the "Child Post Options" metabox to child posts of Yoko Hierarchical Post types to enable page omission from parent menus and changing menu label if title is too long. Fixes bug with Superscript and Subscript buttons not working.

ADDS

  • [ADMIN] Adds the "Child Post Options" metabox to child posts of Yoko Hierarchical Post types to enable page omission from parent menus and changing menu label if title is too long.

FIXES

  • [TINYMCE] Fixes bug with Superscript and Subscript buttons not working.

1.13.2 - TinyMCE Superscript/Subscript Shortcuts

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

Reveals the superscript and subscript buttons in the TinyMCE and adds shortcuts for each. Superscript -> Command + Shift + . and Subscript -> Command + Shift + ,.

ADDS

  • [TinyMCE] Reveals the superscript and subscript buttons in the TinyMCE and adds shortcuts for each.

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.0 - Search With Typesense Integration

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

Search With Typesense integration including InstantSearch compatibility, full public CPT index, and Typesense server dashboard. Content protection login redirect uses wp_get_referer() to redirect user post login if available. Otherwise falls back to the COOKIE.

ADDS

  • [ADMIN] Search With Typesense integration including InstantSearch compatibility, full public CPT index, and Typesense server dashboard.

CHANGES

  • [CONTENT PROTECTION] Uses wp_get_referer() to redirect user post login if available. Otherwise falls back to the COOKIE.

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.