Archives: Snippets
Enable ‘Quanity’ label in woocommerce
add_action( ‘woocommerce_before_add_to_cart_quantity’, ‘bbloomer_echo_qty_front_add_cart’ ); function bbloomer_echo_qty_front_add_cart() { global $product; if ( $product->get_min_purchase_quantity() == $product->get_max_purchase_quantity() ) return; echo ‘ Quantity: ‘; }Continue reading
test html
🎉 HTML Test Successful! This HTML snippet is working perfectly!Continue reading
How to Style the WC Vendors Signup Form
/* ===================================================== WCV Vendors Signup Form – Custom Styling This CSS snippet customizes the vendor registration form to improve layout, typography, colors, and button style ===================================================== */ /* Add another column */ form#wcv-registration-form { column-count: 2; column-gap: 64px; } /*…Continue reading
Hello
Library snippet
{ header}{} {} {} 4444 pure HTML code ♡ iexpress html codeContinue reading
GravityView_DIR_RAPI -Expose GravityView ACF Fields to REST API
/** * WPCode Snippet: Expose GravityView ACF Fields to REST API (MANUAL SYNC ONLY) * Description: Makes ALL GravityView data accessible ONLY when manually synced * Location: Run Everywhere * Priority: 15 */ defined( ‘ABSPATH’ ) || exit; /** *…Continue reading
GravityView_DIR_AD_FPOPULATION – Auto-Populate GravityView Field Details on CPT Sync
/** * WPCode Snippet: Auto-Populate GravityView Field Details on CPT Sync * Location: Run Everywhere * Priority: 30 * Description: Hooks into GravityView sync to populate detailed field information */ defined( ‘ABSPATH’ ) || exit; /** * Hook into GravityView…Continue reading
GravityView_DIR_AC_SYNC_GravityView Sync System
/** * WPCode Snippet: GravityView Sync System – MANUAL SYNC ONLY (FIXED) * Description: Syncs GravityView configurations to custom post type * Location: Run Everywhere * Priority: 20 * * ⚠️ AUTO-SYNC DISABLED – Manual sync only via admin bar…Continue reading
GravityView_DIR_AB_ACF – GravityView Views ACF Fields
/** * WPCode Snippet: GravityView Views ACF Fields * Description: Registers ACF fields for GravityView configurations and settings * Location: Run Everywhere * Priority: 10 */ defined( ‘ABSPATH’ ) || exit; add_action( ‘acf/init’, function() { if ( ! function_exists( ‘acf_add_local_field_group’…Continue reading