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
<?php | |
if(get_field('date')) | |
{ | |
$datetime = DateTime::createFromFormat('d/m/Y', get_field('date')); | |
$fecha_dia = $datetime->format('d'); | |
$fecha_mes = $datetime->format('M'); | |
} | |
?> | |
<span><?php echo $fecha_dia; ?></span> | |
<span><?php echo $fecha_mes; ?></span> |
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
[select country "United States" "Canada" "Mexico" "United Kingdom" "-----" "Afghanistan" "Albania" "Algeria" "American Samoa" "Andorra" "Angola" "Anguilla" "Antigua and Barbuda" "Argentina" "Armenia" "Armenia" "Aruba" "Australia" "Austria" "Azerbaijan" "Azerbaijan" "Bahamas" "Bahrain" "Bangladesh" "Barbados" "Belarus" "Belgium" "Belize" "Benin" "Bermuda" "Bhutan" "Bolivia" "Bonaire" "Bosnia and Herzegovina" "Botswana" "Bouvet Island (Bouvetoya)" "Brazil" "British Indian Ocean Territory (Chagos Archipelago)" "British Virgin Islands" "Brunei Darussalam" "Bulgaria" "Burkina Faso" "Burundi" "Cambodia" "Cameroon" "Cape Verde" "Cayman Islands" "Central African Republic" "Chad" "Chile" "China" "Christmas Island" "Cocos (Keeling) Islands" "Colombia" "Comoros" "Congo" "Congo" "Cook Islands" "Costa Rica" "Cote d'Ivoire" "Croatia" "Cuba" "Curaçao" "Cyprus" "Cyprus" "Czech Republic" "Denmark" "Djibouti" "Dominica" "Dominican Republic" "Ecuador" "Egypt" "El Salvador" "Equatorial Guinea" "Eritrea" "Estonia" "Ethiopia" "Fal |
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
<input type="text" onfocus="(this.type='date')" onblur="(this.type='text')" name="birth" value="" class="form-control wpcf7-form-control wpcf7-date wpcf7-validates-as-required wpcf7-validates-as-date" aria-required="true" aria-invalid="false" placeholder="Date of birth"> |
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
// disable core updates | |
function remove_core_updates() { | |
global $wp_version; | |
return(object) array('last_checked' => time(), 'version_checked' => $wp_version,); | |
} |
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
$('body').on('click', '.scths', function(event) { | |
if ($(this).hasClass('scteto')) { | |
$(".dsc").removeClass('scteto'); | |
} else { | |
$(".dsc").removeClass('scteto'); | |
$(this).addClass('scteto'); | |
} | |
}); |
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
<script> | |
$(function($) { | |
/*function for placeholder select*/ | |
function selectPlaceholder(selectID){ | |
var selected = $(selectID + ' option:selected'); | |
var val = selected.val(); | |
$(selectID + ' option' ).css('color', '#2c2c2c'); | |
selected.css('color', '#AEC3ED'); | |
if (val == "") { | |
$(selectID).css('color', '#AEC3ED'); |
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
jQuery( document ).ready(function( $ ){ | |
$( document ).on('submit_success', '.contactsc2 .elementor-form', function(){ | |
$submitted_form = $( this ); | |
$('.contactsc2 .elementor-form-fields-wrapper').hide(); | |
// $submitted_form.hide(); | |
$('.contactsc2 .elementor-message-success').show(); | |
}); | |
}); |
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
<video class="scvideos3" autoplay loop muted playsInline width='100%' height='100%' preload="auto"> | |
<source src="dd.webm" type="video/webm"> | |
<source src="dd.mp4" type="video/mp4"> | |
</video> | |
//another example | |
<video class="scvideo" preload="auto" loop="loop" muted="true" playsinline="true" autoplay="autoplay"> | |
<source src="mpr.mp4" type="video/mp4"> | |
</video> |
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
[select* scteto first_as_label "select one" "item1" "item2" "item3" "item4" "item5"] | |
+ Design custom arrow | |
select { | |
-moz-appearance: none; | |
-webkit-appearance: none; | |
appearance: none; | |
background-image: url(../images/select-drop.svg); | |
background-repeat: no-repeat; | |
background-position: right center; |
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
.ss .fa { | |
-webkit-transform: rotate(0); | |
-moz-transform: rotate(0); | |
-ms-transform: rotate(0); | |
-o-transform: rotate(0); | |
transform: rotate(0); |