This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Enqueue Styles & Scripts w/ a hook | |
*/ | |
function enqueue_styles_scripts_versioning() { | |
wp_enqueue_style('main-styles', get_template_directory_uri() . '/css/style.css', array(), filemtime(get_template_directory() . '/css/style.css'), false); | |
wp_enqueue_script( 'main-styles', get_template_directory_uri() . '/js/example.js', array(), filemtime(get_template_directory() . '/js/example.js'), true ); | |
} | |
add_action( 'wp_enqueue_scripts', 'enqueue_styles_scripts_versioning' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//* http://gasolicious.com/remove-tabs-keep-product-description-woocommerce/ | |
// Location: add to functions.php | |
// Output: removes woocommerce tabs | |
remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10 ); |