Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function vihv_product_directions_tab() {
- woocommerce_get_template( 'single-product/tabs/directions.php' );
- }
- function vihv_product_ingredients_tab() {
- woocommerce_get_template( 'single-product/tabs/ingredients.php' );
- }
- function humbleshop_widgets_init1() {
- register_sidebar( array(
- 'name' => __( 'Header Weaber form', 'humbleshop' ),
- 'id' => 'sidebar-8',
- 'before_widget' => '<aside id="%1$s" class="widget %2$s">',
- 'after_widget' => '</aside>',
- 'before_title' => '<p class="title">',
- 'after_title' => '</p>',
- ) );
- }
- add_action( 'widgets_init', 'humbleshop_widgets_init1' );
- // Hide SKU on product pages
- function sv_remove_product_page_skus( $enabled ) {
- if ( ! is_admin() && is_product() ) {
- return false;
- }
- return $enabled;
- }
- add_filter( 'wc_product_sku_enabled', 'sv_remove_product_page_skus' );
- require ( get_stylesheet_directory() . '/theme-options.php');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement