Change Editor Default Image Size

add_filter( ‘block_editor_settings_all’, function ( $settings, $context ) { // The default image size when added in the block editor. $settings[‘imageDefaultSize’] = ‘full’; return $settings; }, 10, 2 );Continue reading

Entry Forms

/** * Entry Automation Helper – With Column Loading Fix * Set to “Run Everywhere” in WPCode */ defined(‘ABSPATH’) || exit; add_action(‘admin_enqueue_scripts’, function($hook_suffix) { wp_enqueue_script(‘jquery’); $inline_js = 0) { var $actualSelect = $select2Container.prev(‘select’); if ($actualSelect.length === 0) { $actualSelect =…Continue reading

Add category to page

// Abilita categorie (e, opzionalmente, tag) per le Pagine add_action(‘init’, function () { register_taxonomy_for_object_type(‘category’, ‘page’); // categorie per le pagine // register_taxonomy_for_object_type(‘post_tag’, ‘page’); // opzionale: tag per le pagine });Continue reading

BikeYard Admin Notification System v1.0

/** * BikeYard Admin Notification System v1.0 * * Sends email notifications to admins for: * – New account registrations * – New bike listings * – Subscription changes * – Support requests * * Add as WPCode snippet: *…Continue reading

BikeYard Email Diagnostic & Quick Fix

/** * BikeYard Email Diagnostic & Quick Fix * Run this to diagnose and fix email issues immediately * * Add as WPCode snippet: * – Title: BikeYard Email Diagnostic * – Location: Everywhere * – Priority: 5 * –…Continue reading