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
<configuration> | |
<system.webServer> | |
<security> | |
<requestFiltering> | |
<requestLimits maxAllowedContentLength="120000000" /> | |
</requestFiltering> | |
</security> | |
</system.webServer> | |
</configuration> |
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
<table class="countdown" cellpadding="0" cellspacing="0"> | |
<tbody> | |
<tr> | |
<td>25-12-2017 12:00</td> | |
</tr> | |
</tbody> | |
</table> | |
<script> | |
$('.countdown').each(function(index){ |
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
if ($_SERVER['REQUEST_METHOD'] == 'POST') { | |
$wpdb->query("UPDATE wp_terms SET updatedDate=NOW() WHERE term_id='".$_POST['tag_ID']."'"); | |
} |
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 * FROM wp_terms WHERE updatedDate > (now() - interval 60 minute); |
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 secondTop = (($(window).width())<660) ? ($('.subscribe').outerHeight()/2) : 160; | |
$('.second .topPattern').height(secondTop); |
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 subscribeOffset = ($('.subscribe').outerHeight()/2)*-1; | |
$('.subscribe').css('bottom',subscribeOffset+'px'); |
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 h = (($(window).height()/2)<560) ? 560 : $(window).height()/2; | |
$('.header').height(h); |
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
$( window ).resize(function() { | |
... | |
}); | |
$(function(){ | |
$(window).trigger('resize'); | |
}); |
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 | |
// Add custom button for styles | |
function customStylesButton($buttons) { | |
array_unshift($buttons, 'styleselect'); | |
return $buttons; | |
} | |
add_filter('mce_buttons_2', 'customStylesButton'); | |
//Add custom styles to the WordPress editor | |
function my_custom_styles( $init_array ) { |
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="header"> | |
<div class="headerBg"></div> | |
</div> | |
<!--STYLE--> | |
<style> | |
.headerBg { | |
background-image: url(../img/headerBg.png); |