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 | |
// Gather all of the parameters / filters to be used in your database query as an array of arguments | |
$args = array( | |
'post_type' => 'page', | |
'page_id' => '2064', | |
'posts_per_page' => '1', | |
'cat' => '7', | |
'offset' => '7', | |
'paged' => '7', | |
'orderby' => 'rand', |
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 checker = 0; | |
$(window).resize(function(){ | |
if(window.matchMedia){ | |
var mq = window.matchMedia( "(min-width: 940px)" ); | |
var aMatch = mq.matches; | |
if(checker == 0){ | |
if(aMatch) { | |
return; |