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
#loader { | |
background: none repeat scroll 0 0 #ffffff; | |
bottom: 0; | |
height: 100%; | |
left: 0; | |
position: fixed; | |
right: 0; | |
top: 0; | |
width: 100%; | |
z-index: 9999; |
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
UPDATE wp_options SET option_value = replace(option_value, 'http://wp', 'http://pushkarev-adv.ru') WHERE option_name = 'home' OR option_name = 'siteurl'; | |
UPDATE wp_posts SET guid = replace(guid, 'http://wp','http://pushkarev-adv.ru'); | |
UPDATE wp_posts SET post_content = replace(post_content, 'http://wp', 'http://pushkarev-adv.ru'); |
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
$(".main").onepage_scroll({ | |
sectionContainer: "section", // sectionContainer accepts any kind of selector in case you don't want to use section | |
easing: "ease-in-out", // Easing options accepts the CSS3 easing animation such "ease", "linear", "ease-in", | |
// "ease-out", "ease-in-out", or even cubic bezier value such as "cubic-bezier(0.175, 0.885, 0.420, 1.310)" | |
animationTime: 500, // AnimationTime let you define how long each section takes to animate | |
pagination: true, // You can either show or hide the pagination. Toggle true for show, false for hide. | |
updateURL: true, // Toggle this true if you want the URL to be updated automatically when the user scroll to each page. | |
beforeMove: function(index) {}, // This option accepts a callback function. The function will be called before the page moves. | |
afterMove: function(index) {}, // This option accepts a callback function. The function will be cal |
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
$('.zoom-gallery').magnificPopup({ | |
delegate: 'a', | |
type: 'image', | |
closeOnContentClick: false, | |
closeBtnInside: true, | |
mainClass: 'mfp-with-zoom mfp-img-mobile', | |
image: { | |
verticalFit: true, | |
titleSrc: function(item) { | |
return item.el.attr('title') + ' · <a class="image-source-link" href="'+item.el.attr('data-source')+'" target="_blank">image source</a>'; |
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 $container = $(".masonry-container"); | |
$container.imagesLoaded(function () { | |
$container.masonry({ | |
columnWidth: ".item", | |
itemSelector: ".item" | |
}); | |
$(".item").imagefill(); | |
}); |
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
//полное отключение Emoji start | |
remove_action( 'wp_head', 'print_emoji_detection_script', 7 ); | |
remove_action( 'wp_print_styles', 'print_emoji_styles' ); | |
remove_action( 'admin_print_scripts', 'print_emoji_detection_script' ); | |
remove_action( 'admin_print_styles', 'print_emoji_styles' ); | |
//полное отключение Emoji end |
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
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document regexp("chrome://browser/content/devtools/**/.*"){ | |
.devtools-monospace { | |
font-size: 12pt!important; | |
} | |
} |
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
I use the first | |
—– BEGIN LICENSE —– | |
Michael Barnes | |
Single User License | |
EA7E-821385 | |
8A353C41 872A0D5C DF9B2950 AFF6F667 | |
C458EA6D 8EA3C286 98D1D650 131A97AB | |
AA919AEC EF20E143 B361B1E7 4C8B7F04 |
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 init() { | |
var myMap = new ymaps.Map('map', { | |
center: [60.906882, 30.067233], | |
zoom: 9, | |
type: 'yandex#map', | |
controls: [] | |
}), | |
searchStartPoint = new ymaps.control.SearchControl({ | |
options: { | |
useMapBounds: true, |
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
$('.tile').on('click', function () { | |
var theGoodStuff = $(this).find('.tile-info p') | |
$.magnificPopup.open({ | |
items: { | |
src: theGoodStuff, | |
}, | |
type: 'inline' | |
}); | |
}); |
OlderNewer