Skip to main content

5 posts tagged with "Shortcode"

Shortcode improvements

View All Tags

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

1.9.2 Docusaurus Documentation!

· One min read
Konstantin Brazhnik
Senior Full Stack Engineer @ Yoko Co
Léo Muniz
Senior Full Stack Engineer @ Yoko Co
  1. [NEW FEATURE] New Docusaurus documentation website exists now!
  2. [DOCUMENTATION] Added changelog guidelines.
  3. [BUG FIX] Prevents CPTSync manual sync from syncing incorrect post type.
  4. [IMPROVEMENT] Adds ZZ formatting option to date.format.js and yoko_local_time_to_time_formatted filter for custom formatting overrides.
  5. [NEW FEATURE] Integrates Appsero for plugin usage statistics.