A Pen by Emmanuel ADEKPLOVI on CodePen.
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 | |
//Step 1 : Added of the condition "If customer ZIP code". | |
add_filter( "wad_get_discounts_conditions", "get_discount_rule_conditions" ); | |
function get_discount_rule_conditions($conditions){ | |
$conditions['customer-zip-code'] = __("If customer ZIP code", "wad"); | |
return $conditions; | |
} | |
//Step 2 : Added of operators "Start with" and "Doesn't start with". | |
add_filter( "wad_operators_fields_match", "get_discount_rule_operators", 10, 3 ); | |
function get_discount_rule_operators($operator_fields, $condition, $selected_value){ |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css" | |
integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ==" | |
crossorigin=""/> | |
<style id="jsbin-css"> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css" | |
integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ==" | |
crossorigin=""/> | |
<style id="jsbin-css"> |
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
/* French initialisation for the jQuery UI date picker plugin. */ | |
/* Written by Keith Wood (kbwood{at}iinet.com.au) and Stéphane Nahmani (sholby@sholby.net). */ | |
jQuery(function($){ | |
$.datepicker.regional['fr'] = { | |
closeText: 'Fermer', | |
prevText: '<Préc', | |
nextText: 'Suiv>', | |
currentText: 'Aujourd\'hui', | |
monthNames: ['Janvier','Fevrier','Mars','Avril','Mai','Juin', | |
'Juillet','Aout','Septembre','Octobre','Novembre','Decembre'], |
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
<div id='calendar'></div> |
A Pen by Jaymie Rosen on CodePen.
A Pen by Selcuk Cura on CodePen.
A Pen by Jaymie Rosen on CodePen.
This weeks code-doodle is just a little 500 error page mockup. Tried to capture the feeling of going through stack traces and lines and lines of log-files in an aesthetically pleasing way. -- wanted to mess around with css variables so likely doesn't work too well in ie :)
A Pen by Adam Quinlan on CodePen.
OlderNewer