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
<form method="get" id="searchform" action="http://www.weedowonka.it/" _lpchecked="1"> | |
<input type="text" value="inserisci il testo da cercare.." name="s" id="s" onfocus="clearText(this)" onblur="clearText(this)"> | |
<input type="submit" id="searchsubmit" value="cerca"> | |
</form> |
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
jQuery('document').ready(function(){ | |
jQuery('#twitter_update_list').cycle({ | |
fx: 'scrollHorz', | |
timeout: 5000, | |
prev: '#prev', | |
next: '#next', | |
easing: 'easeInOutBack', | |
cleartypeNoBg: true | |
}); | |
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
<?php | |
add_filter('ywraq_product_added_view_browse_list', 'ywraq_change_browse_list'); | |
function ywraq_change_browse_list( $text ){ | |
$text = "View the list"; | |
return $text; | |
} |
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
<?php | |
add_filter('yith_ywraq_product_added_to_list_message', 'ywraq_change_product_added'); | |
function ywraq_change_product_added( $text ){ | |
$text = "Done!"; | |
return $text; | |
} |
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
<?php | |
if( defined( 'YITH_YWRAQ_PREMIUM' ) ){ | |
add_filter( 'ywraq_clear_list_after_send_quote', 'ywraq_clear_list_after_send_quote', 10, 2); | |
function ywraq_clear_list_after_send_quote( $clear, $raq ){ | |
return false; | |
} | |
} |
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
<?php | |
function ywsl_process_login_start() | |
{ | |
setcookie( LOGGED_IN_COOKIE, md5(rand()), time()+15, preg_replace('|https?://[^/]+|i', '', YITH_YWSL_HYBRID_URL ) ); | |
} | |
add_filter( 'ywsl_process_login_start', 'ywsl_process_login_start' ); | |
?> |
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
<?php | |
add_filter('woocommerce_get_catalog_ordering_args', 'ywcas_woocommerce_catalog_orderby'); | |
function ywcas_woocommerce_catalog_orderby( $args ) { | |
$args['orderby'] = 'meta_value'; | |
$args['order'] = 'asc'; | |
$args['meta_key'] = '_sku'; | |
return $args; |
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
<?php | |
///Renewal subscription | |
add_filter( 'views_edit-shop_order', 'yith_add_renewal_subscription' ); | |
function yith_add_renewal_subscription( $views ) { | |
$post_status = wc_get_order_statuses(); | |
$args = array( | |
'post_type' => 'shop_order', |
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
<?php | |
add_filter( 'ywraq_product_add_to_quote', 'custom_quote_button_text', 12, 1 ); | |
/** | |
* Change the label to the button "Quote" in Remy Theme | |
* @param $default | |
* | |
* @return string | |
*/ |
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
var request; | |
$(document).on( 'click', '.product-quantity input', function(e){ | |
if( typeof request !== 'undefined' ){ | |
request.abort(); | |
} | |
var $t = $(this), | |
$input_quantity = $t.closest('.product-quantity').find('.input-text.qty'), | |
name = $input_quantity.attr('name'), |