Skip to main content

21 posts tagged with "WP Admin"

WP Admin improvements

View All Tags

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).

1.10.2 - Admin Search Enhancements & Bug Fixes

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

Makes admin post search use the relevance orderby parameter to make it easier to find admin content. Fixes bug with Beaver Builder show/hide logic when using the "after" operator. Fixes bug with yoko.yml CPT generator that overwrote the rest_base parameter needlessly.

Enhancements

  • [Admin Search] Orders post type listing search results and menu quick-add searches by relevance.

Fixes

  • [Beaver Builder] Fixes logic in Show/Hide tab when setting show or hide "After" a date.
  • [YOKO YAML] Fixes bug with yoko.yml in which the default rest_base was overwritten unneccessarily causing the Gutenberg editor to not work.

1.9.9 - Enhancements and Bug Fixes

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

Add to Calendar shortcodes and BeaverBuilder module is compatible with three and two letter timezone strings (ex. EST, ET, CT,etc.). Adds initial integration with Search with Typesense. Fixes the filemtime stat bug by replacing the enqueued script/css version with the Yoko Core plugin version.

FIXES

  • Fixes filemtime bug when checking for the stat on files in the node_modules folder.

CHANGES

  • Add to calendar shortcode and bb module attempt to guess timezone when provided with an abbreviation instead of a fully formed php timezone.
  • Makes changed environment message less scary.

ADDS

  • Initial Search with Typesense integration that allows all public post_types to be indexed.

1.9.8 - Performance and Bug Fixes

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

Fixes issue with "Show/Hide" tab not showing on Beaver Builder modules. Adds Aloglia search to core.yokoco.dev and hides the "Edit Site" menu item for non-yoko admins. The menu items are hidden by CSS only and connected to the --yoko-critical-menus-display CSS variable so this can easily be overwritten.

FIXES

  • [BEAVER BUILDER] Fixes issue in which "Show/Hide" tab wasn't showing up.

ADDS

  • [DOCUMENTATION] Adds Aloglia Search to documentation site.

CHANGES

  • [FULL SITE EDITING] Hides the "Edit Site" menu items for non-yoko admins.

1.9.7 - Performance and Bug Fixes

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

Introduces the unpublish post functionality, the content protectection lock in the WP adminbar for posts with protected content, along with an Admin Bar Roles option to configure which roles can see the adminbar on the frontend. Also adds integration configuration with AMS Connect for WP to ensure legacy SSO boilerplates and shortcodes continue to work as normal and a timezone attribute to the [add-to-calendar] shortcode.

Fixes

  1. [ADMIN] Fixes Appsero automatic Opt In function.
  2. [ADMIN] Fixes appearance of "BG Actions" submenu in Yoko Adminbar menu.

Adds

  1. [CONTENT PROTECTION] Adds content protection lock into Admin Bar when the current post is configured to be visible to only specific roles.
  2. [AMS CONNECT] Adds connection between AMS Connect for WP plugin and the Yoko Core content protection.
  3. [OPTIONS] Adds the "Admin Bar Roles" option to control which roles should be able to see the adminbar when they are logged in.
  4. [UNPUBLISH POST] Adds the unpublish post functionality allowing user to schedule a post to be unpublished and set to draft at a specified future time.
  5. [ADD TO CALENDAR] Adds timezone attribute to add to calendar shortcode.
  6. [YOKO LOGGER] Adds the yoko_log_nodate( $message, $type ) function to create log files that do not automatically split into daily logs.