Set a Custom Email Header (copy)
This snippet sets custom email headers to ensure you can control specific behaviors of your sent…
WWPP & Elementor - Show correct wholesale prices in the Elementor side cart
/** * WWPP & Elementor: show correct wholesale prices in Elementor side cart. */ add_filter( 'woocommerce_cart_item_price',…
more feater
add_shortcode('product_features_boxes', function () { if (!function_exists('wc_get_product')) { return ''; } global $product; if (!$product || !is_a($product,…
Add a video field to the sign-up form
// Add the video field to the signup form. add_action( 'wcv_form_input_after__wcv_store_name', 'wcv_video_uploader'); function wcv_video_uploader( ){ //…
Force product type for all products
// Disable the product type drop down. add_filter('wcv_disable_product_type', function() { return true; } ); /** *…
Display Last Login
Shows user ID number and registers last login date with timestamp on the user table.
mobile sticky menu chatgpt css
/* Reset some default styles */ body, h1, ul { margin: 0; padding: 0; } /*…
Optimize Font Loading
Adds CSS font property to ensure text remains visible during webfont load
Add Your Own Custom Fields to Events
Sugar Calendar has no custom fields UI, so there is no built-in way to store something…
Minimal Wordpress Search
Limit the Wordpress default search to title only. Improve search performance and user experience on content…
Auto Admin Logout
Apply short cookie expiry logout to all administrative users while keeping default 2 days for everyone…
Admin 404 Log
Log 404 errors to database and display in admin menu.
Disable Comments Link
Disable comments link in header.
How to Disable Comments on Event Posts? | Quick Event Manager
This code snippet is designed to automatically disable comments for event post types generated via the…