This file contains hidden or 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
/* Funkcija kuri kartojasi kas sekunde */ | |
let seconds = 0; | |
setInterval(function() { | |
console.log("As esu setIntervalFunkcija, sekunde: " + seconds); | |
seconds++; | |
}, 1000); |
This file contains hidden or 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
Sections Array[] | |
0 [{ // What are our section keys | |
'component': 'HeroSection', // Define the component that is used for this section | |
'order' : 1, | |
'background' : { | |
'type' : 'image', // video / color | |
'color' : '#ffffff', | |
'url' : '#' | |
}, |
This file contains hidden or 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
// 1. Suraskite didžiausią skaičių masyve | |
// 2. Suskaičiuokite skaičių vidurkį. | |
var array = [3 , 6, 2, 56, 32, 5, 89, 32]; | |
var largest= 0; |
This file contains hidden or 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
.container | |
.weather-side | |
.weather-gradient | |
.date-container | |
h2(class="date-dayname") Tuesday | |
span(class="date-day") 15 Jan 2019 | |
i(class="location-icon" data-feather="map-pin") | |
span(class="location") Paris, FR | |
.weather-container | |
i(class="weather-icon" data-feather="sun") |
This file contains hidden or 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
// Add following code to functions php of your theme | |
add_action( 'woocommerce_checkout_process', 'validate_phone_number_for_specific_countries' ); | |
function validate_phone_number_for_specific_countries() { | |
$phone = isset( $_POST['billing_phone'] ) ? wc_clean( $_POST['billing_phone'] ) : ''; | |
$billing_country = isset( $_POST['billing_country'] ) ? wc_clean( $_POST['billing_country'] ) : ''; | |
// Specify the countries requiring phone number validation | |
$countries_requiring_validation = array( 'LT', 'LV', 'EE' ); |
OlderNewer