Skip to main content

15 posts tagged with "WP Admin"

WP Admin improvements

View All Tags

1.13.6 - Sets CMB2 to version 2.11.x

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

Fixes conflict with CMB2 version 2.4.x by setting CMB2 version to 2.11.x

FIXES

  • [CMB2] Sets CMB2 to version 2.11.x due to bug with version 2.4.x

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.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.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.1 - Content Corral Enhancements

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

This release adds a content_corral_exclusive_taxonomies filter to allow theme developers to override default "exclusive taxonomy" behavior for Content Corral taxonomies on a per-project basis. Also ships fixes to bugs and missing features in Keen Slider module. Ships initial Yoko Staff SSO and OpenAI agent integration scaffolding for live testing.

FIXES

  • [BEAVER BUILDER] Fixes Keen slider number field type bug.

ADDS

  • [FILTER] content_corral_exclusive_taxonomies added.
  • [BEAVER BUILDER] Adds Keen slider Next/Prev buttons UI option.
  • [BEAVER BUILDER] Adds Keen slider compatibility with ACF galleries and links in captions.
  • [ADMIN] Adds Coding Styles documentation.
  • [ADMIN] Adds initial scaffolding for Yoko Staff SSO.
  • [AI] Adds initial scaffolding for OpenAI agent integration.

REMOVES

  • [PHP] Removes support for PHP8.0.

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.3 - WP All Import Integration

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

This maintenance release adds initial integrations with WP All Import to make it easier to write targetted import scripts. It adds the YokoCo\sideload_file function to make it easier to upload non-image attachments. It fixes a CSS rendering issue with Select2 dropdowns in WP Admin and gracefully handles error in the Core Navigation block "Child Menu" customization caused by the block not having any children. This update also makes it possible to change the label of the Relational Taxonomy of a CPT so that the rendered metaboxes have contextual names (ex for a Person CPT, the rel tax can be called "Authors").

ADDS

  • [WP ALL IMPORT] Adds pmxi_saved_post_{post_type} action to make it easy to add functions to imports of a specific post type.
  • [WP ALL IMPORT] Automatically require_once the wp-all-import.php file from the theme if it exists.
  • [ADMIN] Adds the YokoCo\sideload_file function that mirrors the native WordPress media_sideload_image function, but for any file type.

FIXES

  • [RELTAX] Fixes the Select2 CSS of a relational taxonomy filter select on the post screen.
  • [BLOCKS] Gracefully handles Core Navigation block "Child Menu" customization when it fails due to a lack of internal blocks.
  • [BEAVER BUILDER] Fixes bug in Heroicons and Keen Slider modules where path to sub files was missing a leading slash.

CHANGES

  • [RELTAX] The target post type meta box has the label of the rel taxonomy instead of the CPT because the taxonomy describes the relationship (ex. author).