vol4ikman / QuerySolutions

QuerySolutions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

QuerySolutions

Starter Theme Structure

Folder What inside
inc all get_template_part() goes here
admin all "admin side stuff" goes here
css css goes here
js js goes here
images images goes here
functions theme "plugins" and snippets

Wordpress Security

  1. Moving wp-config.php to secret place

  2. Moving wp-content

PX to REM

http://codepen.io/liorbabi/pen/QEWOWr

Magnific popup video + image mixed gallery

	jQuery('.large_slide_thumb a').magnificPopup({
	  type:'image',
	  gallery:{enabled:true},
	  callbacks: {
		elementParse: function(item) {
			//selector with class is_image or is_video
			if(jQuery(item.el).parent().hasClass('is_image') ) {
			 item.type = 'image';
			} else {
			 item.type = 'iframe';
			}
		}
	  }
	});

About

QuerySolutions


Languages

Language:PHP 77.1%Language:JavaScript 12.4%Language:CSS 10.4%Language:HTML 0.0%