/*-----------------------------------------------------------------------------------*/ /* You can add custom functions below */ /*-----------------------------------------------------------------------------------*/ add_filter( 'wc_product_enable_dimensions_display', '__return_false' ); add_filter( 'embed_defaults', 'bigger_embed_size' ); function bigger_embed_size() { return array( 'width' => 550, 'height' => 310 ); } /** Register Before Post Widget Area.*/ function wpsites_before_post_widget() { register_sidebar( array( 'name' => 'Before Post Widget', 'id' => 'before-post', 'before_widget' => '
', 'after_widget' => '
', ) ); } add_action( 'widgets_init', 'wpsites_before_post_widget' ); /** Filter & Hook In Widget Before Post Content .*/ function before_post_widget() { if ( is_single() && is_active_sidebar( 'before-post' ) ) { dynamic_sidebar('before-post', array( 'before' => '
', 'after' => '
', ) ); } } add_action( 'woo_post_before', 'before_post_widget' ); /** Register After Post Widget Area.*/ function wpsites_inside_after_post_widget() { register_sidebar( array( 'name' => 'Inside After Post Widget', 'id' => 'inside-after-post', 'before_widget' => '
', 'after_widget' => '
', ) ); } add_action( 'widgets_init', 'wpsites_inside_after_post_widget' ); /** Filter & Hook In Widget After Post Content .*/ function inside_after_post_widget() { if ( is_single() && is_active_sidebar( 'inside-after-post' ) ) { dynamic_sidebar('inside-after-post', array( 'before' => '
', 'inside-after' => '
', ) ); } } add_action( 'woo_post_inside_after', 'inside_after_post_widget' ); woo_post_inside_after(); function woo_wc_upsell_display() { woocommerce_upsell_display( -1, 4 ); } ?> white pumpkin Archives - Nita's Fruit and Vegetable Carving Videos

Top Menu

Tag Archives | white pumpkin