Home › Forums › WoodMart support forum › Change badges position › Reply To: Change badges position
nicksfikas
this is the custom code from my child theme:
<?php
/**
* Enqueue script and styles for child theme
*/
function woodmart_child_enqueue_styles() {
wp_enqueue_style( ‘child-style’, get_stylesheet_directory_uri() . ‘/style.css’, array( ‘woodmart-style’ ), woodmart_get_theme_info( ‘Version’ ) );
}
add_action( ‘wp_enqueue_scripts’, ‘woodmart_child_enqueue_styles’, 1000 );
// Ship to a different address closed by default
add_filter( ‘woocommerce_ship_to_different_address_checked’, ‘__return_false’ );
//editable order statuses
add_filter( ‘wc_order_is_editable’, ‘wc_make_processing_orders_editable’, 10, 2 );
function wc_make_processing_orders_editable( $is_editable, $order ) {
if ( $order->get_status() == ‘processing’ )
{
$is_editable = true;
}
return $is_editable; }
//remove shop title
add_filter( ‘woocommerce_show_page_title’, ‘bbloomer_hide_shop_page_title’ );
function bbloomer_hide_shop_page_title( $title ) {
if ( is_shop() ) $title = false;
return $title;
}
I don’t have any code for the badges :/