Category: Widgets
COLES TEST
Change Month Calendar to show only items in the month | Display Eventbrite Plugins
add_filter( ‘wfea_cal_extra_options’, function ( $options ) { $options[‘fullcalendar’][‘showNonCurrentDates’] = false; return $options; }, 10, 1 );Continue reading
MFP > UIKit Preloader HTML
Digital
Tasty Recipes – Change star rating size and spacing
/* change increase or decrease .97 to change star size, change 0.5 to change spacing */ .tasty-recipes, .tasty-recipes-ratings { –tr-star-size: .97em!important; –tr-star-margin: 0.5em!important; }Continue reading
Change rating tooltip colors
/* change #000 in both places below to change the background, change #FFF to change the text color, change #F7D578 to change the link color */ .tasty-recipes-static-tooltip { background-color:#000 !important; color:#FFF !important; } .tasty-recipes-static-tooltip:after { border-top-color:#000 !important; } a.tasty-recipes-scrollto {…Continue reading
Automatically Set the Complete Order Status
add_action( ‘woocommerce_thankyou’, function ( $order_id ) { if ( ! $order_id ) { return; } $order = wc_get_order( $order_id ); if( ‘processing’ == $order->get_status() ) { $order->update_status( ‘completed’ ); } } );Continue reading
Beehive limit
add_filter( ‘beehive_google_analytics_ga4_accounts_page_size’, function ( $limit ) { return 100; } );Continue reading
Override strings
add_filter( ‘gettext’, function ( $translated_text, $text, $domain ) { if ( $text == ‘Birthday (optional)’ ) { $translated_text = __( ‘Birthday’, ‘rug’ ); } return $translated_text; }, 20, 3 );Continue reading