Framework_Fluid_CSS

:root { /* Text Size Scale */ –text-xs: clamp(0.72rem, calc(0.82rem + -0.13vw), 0.79rem); –text-s: clamp(0.89rem, calc(0.88rem + 0.02vw), 0.90rem); –text-m: clamp(1.00rem, calc(0.95rem + 0.23vw), 1.13rem); –text-l: clamp(1.13rem, calc(1.02rem + 0.51vw), 1.41rem); –text-xl: clamp(1.27rem, calc(1.09rem + 0.90vw), 1.76rem); –text-2xl: clamp(1.42rem, calc(1.14rem…Continue reading

wpadmin add phone number with address in orders page

add_action( ‘manage_shop_order_posts_custom_column’ , ‘custom_orders_list_column_content’, 50, 2 ); function custom_orders_list_column_content( $column, $post_id ) { global $the_order, $post; if ( $column == ‘shipping_address’ ) { if( $phone = $the_order->get_billing_phone() ){ $phone_wp_dashicon = ‘ ‘; echo ‘‘. $phone.’‘; } } if ( ‘order_status’…Continue reading

Bulk Change Custom Order Status wpadmin

add_filter( ‘bulk_actions-edit-shop_order’, ‘misha_register_bulk_action’ ); // edit-shop_order is the screen ID of the orders page function misha_register_bulk_action( $bulk_actions ) { $bulk_actions[ ‘mark_packed’ ] = ‘Change status to packed’; //Change status to packed$bulk_actions[ ‘mark_shipping’ ] = ‘Change status to shipping’; //Change status…Continue reading

custom order status wpadmin

/* * Register a custom order status * * @author Misha Rudrastyh * @url https://rudrastyh.com/woocommerce/order-statuses.html */ add_action( ‘init’, ‘custom_order_status’ ); function custom_order_status() { register_post_status( ‘wc-custom-packed’, array( ‘label’ => ‘Packed’, ‘public’ => true, ‘show_in_admin_status_list’ => true, ‘label_count’ => _n_noop( ‘Packed (%s)’,…Continue reading