Skip to content

vol4ikman/QuerySolutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published