Skip to main content

5 posts tagged with "CPTSync"

CPTSync improvements

View All Tags

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.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.9.5 - Add to Cal, CPTSync Health

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

This release updates the Add to Calendar Beaver Builder module so that leaving the "Start Time" blank has the same effect as setting the event as an "All Day" event. It also resolves an issue in which .ics files were being malformed. PHP7.4 is no longer supported and this plugin requires PHP8.0+. CPTSync code utility now has a Alpha version "Sync Health" page to help diagnose common sync issues.

  1. [IMPROVEMENT] Add to Cal Beaver Builder module reverts to all day event with empty start time and has better instructions
  2. [BUG FIX] Fixed issue with Add to Cal .ics links such as Apple, ICS, and Outlook ICS.
  3. [PHP] PHP 7.4 DEPRECATION! This plugin is now only fully compatible with PHP8.x
  4. [CPTSYNC] Adds CPTSync activated icon and Alpha Sync Health menu.

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.