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
$('.section-7-products-number').each(function () { | |
$(this).prop('Counter',0).animate({ | |
Counter: $(this).attr('data-stop') | |
}, { | |
duration: 2500, | |
easing: 'easeInOutQuart', | |
step: function (now) { | |
now = Number(Math.ceil(now)).toLocaleString('en'); | |
$(this).text(now); | |
} |
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 | |
function activate_gutenberg_for_post_type( $is_enabled, $post_type ) { | |
if ( 'post-type-name-here' == $post_type ) { | |
return true; | |
} elseif('page' == $post_type) { | |
global $post; | |
$pageTemplate = get_post_meta($post->ID, '_wp_page_template', true); | |
if($pageTemplate == 'page-template-name-here.php') { | |
return true; | |
} else { |
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
<section class="calendar-wrapper"> | |
<div class="container-fluid"> | |
<div class="row"> | |
<div class="col-md-12"> | |
<div class="header-wrapper"> | |
This is the header. | |
</div> | |
<div class="blocks-wrapper"> | |
<div class="row block-row"> | |
<div class="block block-1"> |
OlderNewer