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
h1, h2, h3 {font-family: FuturaBookC !important;} | |
hr { display: none; } | |
.Slot {display:flex; align-items:center; justify-content: center; flex-direction: column; top: initial; left: initial; transform: initial; width: 100%; height: 100vh; padding: 50px 30px;} | |
.Widget {width: 100%;} | |
.Widget:first-child {display: none;} |
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
h1, h2, h3 {font-family: FuturaBookC !important;} | |
hr { display: none; } | |
.Weather { font-family: FuturaDemiC !important;} | |
.Unsplash .credit {opacity: 0.5;} | |
.Time h1 {font-size: 6em;} |
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
{% trans %} | |
Submitted by {{ author.username }} on {{ node.created }} | |
{% endtrans %} |
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
/************Grid****************/ | |
grid() | |
display flex | |
flex-flow row wrap | |
margin -15px | |
grid_item(arguments) | |
flex-basis "calc(%s - (15px * 2))" % arguments | |
margin 15px | |
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 $ = jQuery.noConflict(); | |
$(document).ready(function($) { | |
'use strict'; | |
/*Your scripts start here*/ | |
}); |
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
/*ACF taxonomy parent*/ | |
// category ancestor location rule | |
add_filter('acf/location/rule_types', 'acf_location_types_category_ancestor'); | |
function acf_location_types_category_ancestor($choices) | |
{ | |
if (!isset($choices['Post']['post_category_ancestor'])) { | |
$choices['Post']['post_category_ancestor'] = 'Post Category Ancestor'; | |
} | |
return $choices; | |
} |
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 mail('ваша@почта.ru', 'Test send from hosting', 'If I can read this letter - my hosting are supported php send mail!'); ?> |
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
$(function() { | |
var timer; | |
$(window).resize(function() { | |
clearTimeout(timer); | |
timer = setTimeout(function() { | |
$('.main').css("min-height", $(window).height() + "px" ); | |
}, 40); | |
}).resize(); | |
}); |
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
$('.products__box .order_product').click(function(){ | |
var know_title = $(this).parents('.products__box').find('.products__box--title').text(); | |
$('.wpcf7').find('input[name=text-172]').val(know_title); | |
}); |
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
/*Count*/ | |
var $this = $('.page_content__content .menu > li'); | |
if ($this.length == 1) { | |
$this.addClass('one'); | |
} else if ($this.length == 2) { | |
$this.addClass('two'); | |
} else if ($this.length == 3) { | |
$this.addClass('three'); | |
} else if ($this.length == 4) { | |
$this.addClass('four'); |
NewerOlder