Skip to main content

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.

1.11.5 - CPTSync Improvements, Post Log Function and Metabox

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

Adds a simple to use logging function for writing to post specific logs along with the metabox to display them if a log file exists. Adds yoko-user-role-[USER ROLE] classes to the body tag to power content personalization. CPTSync writes sync log entries to individual record post logs by default.

ADDS

  • [ADMIN] Adds the \YokoCo\yoko_post_log( $message, $post_id ) function that allows to write to post specific log files.
  • [ADMIN] Adds a Post Log metabox to any post that has a log file associated with it. Doesn't render if no log file is detected. Post Log Metabox
  • [BODY CLASSES] Adds yoko-user-role-[USER ROLE] body classes to handle low-level content personalization.

CHANGES

  • [CPTSYNC] CPTSync now defaults to writing to the dedicated post log file.

1.11.4 - Beaver Builder iFrame, Add to Cal Outlook ICS

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

Improves ICS generator on Add to Calendar BB module and shortcode to have more robust compatibility with Outlook Desktop. Fixes BB iFrame Autoresize module bug that prevented injected CSS from rendering correctly.

FIXES

  • [BEAVER BUILDER] Fixes bug in iFrame Autoresize module that prevented injected CSS from rendering.
  • [BEAVER BUILDER] Updates ICS generator in Add to Calendar module to support timezones better.
  • [HIERARCICAL CPT] Removes the "Add Subpage" button on the "Trash" page of edit posts list.

1.11.3 - Permalink Length Limit Option

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

Add the ability to limit permalink length. Adds the ability to shorten long permalinks that predate the addition of this feature. Adds CPT Sync Health Dashboard hook functions and reschedule actions button. Adds standalone SalesForceClient. Adds WP2FA integration class with maybe_exclude_user_from_wp2fa method.

ADDS

  • [OPTION] Adds the Limit Permalink Lengths option to the General options screen to enforce shorter permalinks.
  • [ROW ACTION] Adds Shorten Permalink row action to posts that have a permalink longer than the set limit.
  • [AMS] Adds a standalong SalesForceClient class that will work with the native SalesForce API and hence is applicable to AMS's like Fonteva and Nimble.
  • [CPTSYNC HEALTH] Adds all functions that are currently attached to CPTSync hooks for better visibility.
  • [CPTSYNC] Adds ability to manually reschedule all sync actions from the admin dashboard.
  • [WP2FA] Adds initial integration class with WP2FA with maybe_exclude_user_from_wp2fa method.

1.11.2 - Bug Fixes

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

A maintenance release that fixes a bug that prevented the injected CSS option in the iFrame - Autoresize custom BB module from working. Also adds the Theme Read Me menu for yoko users for themes that have a README.md file. Also automatically adds all custom post types to Code Mana's Typesense plugin.

ADDS

  • [DOCUMENTATION] Renders the active theme's README.md or README.md.php file if it's presents under the Yoko Dashboard admin menu.
  • [INTEGRATIONS] Adds all post types for Code Mana's Typesense Search plugin if detected.

FIXES

  • [BEAVER BUILDER] Fixes custom iFrame module bug that prevented injected CSS from being added to certain iFrames with escaped characters.