Skip to content

Instantly share code, notes, and snippets.

View tyidnet's full-sized avatar

Tony T tyidnet

View GitHub Profile
@tyidnet
tyidnet / git.path settings
Created February 10, 2022 17:08
VS Code can't detected installed Git solution (macOS Cataline, 2022 Jan)
I had this problem after upgrading to macOS Catalina.
1. Find git location from the terminal:
which git
2. Add the location of git in settings file with your location:
settings.json
<style>
body { margin: 0; }
.vimeo-container {
padding: 0;
width: 100%;
height: 100vh;
overflow: hidden;
position: relative;
}
iframe {
/**
* Optimize WooCommerce Scripts
* Remove WooCommerce Generator tag, styles, and scripts from non WooCommerce pages.
*/
add_action( 'wp_enqueue_scripts', 'child_manage_woocommerce_styles', 99 );
function child_manage_woocommerce_styles() {
//remove generator meta tag
remove_action( 'wp_head', array( $GLOBALS['woocommerce'], 'generator' ) );