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
| /* | |
| * Mass update page by Advanced Custom Field 'hide_site_map'; | |
| * Set value= '0'; | |
| */ | |
| function mass_update_pages() { | |
| //$args = array(); | |
| $my_pages = get_pages($args); |
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
| </li> | |
| <div class="row"> | |
| <div class="col-sm-6"> | |
| <li> | |
| <--- Блок ---> | |
| </li> | |
| </div> | |
| <div class="col-sm-6"> |
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> | |
| jQuery(document).ready(function($) { | |
| $( ".quant-minus, .quant-plus, #input_97_11" ).click(function() { | |
| var totalSum = ($(".ginput_total.ginput_total_97").text()); | |
| totalSum = parseFloat(totalSum.replace(" ", "")); | |
| if ( totalSum < 37500 ) { | |
| $("#gform_next_button_97_30").prop("disabled", true); | |
| $("#field_97_36 > div").css("color", "#e51c23"); | |
| } if ( totalSum >= 37500 ) { | |
| $("#gform_next_button_97_30").prop("disabled", false); |
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
| // Html | |
| <div class="top" title="Наверх"><i class="fa fa-angle-double-up"></i></div> | |
| // Sass | |
| .top | |
| position: fixed | |
| bottom: 25px | |
| right: -100px | |
| background-color: #e0e0e0 | |
| color: #666 | |
| z-index: 12 |
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
| <div itemscope itemtype="http://schema.org/Organization"> | |
| <span itemprop="name">Яндекс</span> | |
| Контакты: | |
| <div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"> | |
| Адрес: | |
| <span itemprop="streetAddress">Льва Толстого, 16</span> | |
| <span itemprop="postalCode"> 119021</span> | |
| <span itemprop="addressLocality">Москва</span>, | |
| </div> | |
| Телефон:<span itemprop="telephone">+7 495 739–70–00</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
| <?php the_title( sprintf('<h1 class="entry-title"><a href="%s">', esc_url(get_permalink()) ),'</a></h1>');?> |
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
| gulp.task('deploy', function() { | |
| var conn = ftp.create({ | |
| host: 'ftp.democase.16mb.com', | |
| user: 'u167902521', | |
| password: '', | |
| parallel: 10, | |
| log: gutil.log | |
| }); |
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
| $(document).ready(function(){ | |
| // Add smooth scrolling to all links | |
| $("a").on('click', function(event) { | |
| // Make sure this.hash has a value before overriding default behavior | |
| if (this.hash !== "") { | |
| // Prevent default anchor click behavior | |
| event.preventDefault(); | |
| // Store hash |
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
| <ifModule mod_expires.c> | |
| # Add correct content-type for fonts | |
| AddType application/vnd.ms-fontobject .eot | |
| AddType application/x-font-ttf .ttf | |
| AddType application/x-font-opentype .otf | |
| AddType application/x-font-woff .woff | |
| AddType image/svg+xml .svg | |
| # Compress compressible fonts |
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
| var path = document.querySelector('path'); | |
| var length = path.getTotalLength(); | |
| // Clear any previous transition | |
| path.style.transition = path.style.WebkitTransition = | |
| 'none'; | |
| // Set up the starting positions | |
| path.style.strokeDasharray = length + ' ' + length; | |
| path.style.strokeDashoffset = length; | |
| // Trigger a layout so styles are calculated & the browser | |
| // picks up the starting position before animating |