Description
YM Site Kit is a collection of small, practical utilities designed to make working with your WordPress site more convenient and efficient.
The plugin is based on real-world experience building and maintaining dozens of WordPress sites and includes tools that most often prove essential.
It is lightweight and includes only what is necessary for most sites. You can enable only the utilities you need.
The plugin continues to evolve and gain new tools, adding only what is truly necessary for most sites based on experience from dozens of WordPress projects.
Plugin Actions
ymsk_utilities_saved– Fires after saving Utilities.
Advanced Columns
Adds useful columns to Post, Page, Plugin, and other list tables, and hides some rarely used ones.
Advanced Use
// Adds thumbnail column in Post Type list table. add_filter( 'manage_{$post_type}_posts_columns', function ( array $posts_columns ) : array { if ( ! class_exists( 'YMSK_Advanced_Columns_Utility' ) ) { return $posts_columns; } return YMSK_Advanced_Columns_Utility::insert_thumbnail_th( $posts_columns ); }); add_action( 'manage_{$post_type}_posts_custom_column', function ( string $column_name, int $post_id ) { switch ( $column_name ) { case 'ymsk-thumbnail': YMSK_Advanced_Columns_Utility::the_thumbnail_td( $post_id ); break; } }, 10, 2 );
Filters
ymsk_advanced_columns_max_file_size– Sets the file size limit, exceeding which will trigger a warning.
Comments Deactivator
Turns off the discussion system and hides comment-related elements in the admin interface.
Hide User Fields
Hides rarely used fields on the Edit User screen to simplify the interface.
Maintenance Mode
Allows only administrators to access the public part of the site.
Advanced Use
By default, in maintenance mode, visitors see the plugin’s standard information page. However, you can create a maintenance.php file in your theme’s root directory. If this file exists, it will be used instead of the default page.
You can check if the maintenance mode is enabled using this code:
if ( class_exists( 'YMSK_Plugin' ) && YMSK_Plugin::is_utility_enabled( 'maintenance-mode' ) ) { // Maintenance mode enabled. }
Filters
ymsk_maintenance_mode_content– HTML content of default maintenance page<body>.
Media Converter
Automatically compresses and converts images to WebP upon upload.
SVG Logo
Replaces the <img> element with <svg> when using get_custom_logo() function and the logo file is an SVG.
SVG Support
Allows administrators to safely upload SVG files to the media library and use them.
Transliterator
Automatically replaces certain symbols in Post and Term slugs on save.
Filters
ymsk_transliterator_map– Transliteration symbols map.