- WordPress 6.9.4 (es_ES) with Kadence theme - Homepage: Hero, La Asociación, Pilares, Beneficios, Eventos, Miembros, Hazte Miembro, Contacto - Brand identity: #13294b navy, #a12932 burgundy, #c69c48 gold - Fonts: Raleway (headings) + Source Sans 3 (body) + Lato (UI) - Plugins: Kadence Blocks, Polylang, Contact Form 7 - Custom CSS with full brand styling and responsive layout - HTTPS enforced via wp-config.php proxy detection
27 lines
643 B
JavaScript
27 lines
643 B
JavaScript
( function( $ ) {
|
|
$( function() {
|
|
var supportHtml5 = ( function() {
|
|
var features = {};
|
|
var input = document.createElement( 'input' );
|
|
var inputTypes = [ 'date' ];
|
|
|
|
$.each( inputTypes, function( index, value ) {
|
|
input.setAttribute( 'type', value );
|
|
features[ value ] = input.type !== 'text';
|
|
} );
|
|
|
|
return features;
|
|
} )();
|
|
|
|
if ( ! supportHtml5.date ) {
|
|
$( 'input.wpcf7-date[type="date"]' ).each( function() {
|
|
$( this ).datepicker( {
|
|
dateFormat: 'yy-mm-dd',
|
|
minDate: new Date( $( this ).attr( 'min' ) ),
|
|
maxDate: new Date( $( this ).attr( 'max' ) )
|
|
} );
|
|
} );
|
|
}
|
|
} );
|
|
} )( jQuery );
|