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 | |
/** | |
* Query post meta table | |
* | |
* @param string|array $name_patt Meta key pattern match | |
* @param string $query_suffix SQL query suffix | |
* | |
* @return array|null Results of query | |
*/ | |
function shramee_query_post_meta_table( $name_patt, $query_suffix = '' ) { |
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 | |
/** | |
* Query user meta table | |
* | |
* @param string|array $name_patt Meta key pattern match | |
* @param string $query_suffix SQL query suffix | |
* | |
* @return array|null Results of query | |
*/ | |
function shramee_query_user_meta_table( $name_patt, $query_suffix = '' ) { |
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
/* SCSS */ | |
@keyframes loader-anim { | |
0% { transform: rotate(0deg); } | |
100% { transform: rotate(360deg); } | |
} | |
.loader { | |
width: 100px; | |
height: 100px; |
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
/** | |
* Created by shramee on 28/02/17. | |
*/ | |
var particles = {}, | |
particleProps = {}, | |
particleFixOutOfViewport = function ( p, k ) { | |
var | |
flipSign = 1, | |
max = particleProps[ k + 'Max']; | |
if ( p[k] > max/2 ) { // if particle is in greater half |
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
module.exports = function(grunt) { | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
/* Autoprefixing all css files in theme root */ | |
autoprefixer: { | |
options : { | |
browsers : ['last 2 versions'], | |
}, | |
multiple_files : { |
NewerOlder