Different files for order details

Create/copy an override template file in your-theme/woocommerce/order/order-details-thankyou.php In functions.php add this block of code: function woocommerce_order_details_table_thankyou( $order_id ) { if ( ! $order_id ) { return; } wc_get_template( ‘order/order-details-thankyou.php’, array( ‘order_id’ => $order_id, ) ); } remove_action( ‘woocommerce_thankyou’, ‘woocommerce_order_details_table’, 10 ); add_action( ‘woocommerce_thankyou’, ‘woocommerce_order_details_table_thankyou’, 10 ); This is perfectly fine way to unhook the default … Read more

Which cache is kicking

You could change the file version each time the file gets updated. To do this, go to your functions.php file and find where the style-sheet is being enqueued (or registered) – it will look something like: wp_enqueue_style( ‘theme-style’, get_template_directory_uri() . ‘/style.css’ ); and change it to: wp_enqueue_style( ‘theme-style’, get_template_directory_uri() . ‘/style.css’, array(), filemtime( get_template_directory_uri() . … Read more

A wordpress site keeps editing wp-content files after migration

You may have an issue with parent/child theme overwriting like Jacob Peattie said in the comments. Another possibility is that your hosting provider is changing something during that restore process. Check your wp-config.php settings to make sure they haven’t changed, and check your Settings > General tab in wp-admin to make sure your domain hasn’t … Read more