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
class autoloader { | |
public static $loader; | |
public static function init() | |
{ | |
if (self::$loader == NULL) | |
self::$loader = new self(); | |
return self::$loader; |
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
add_action('plugins_loaded', 'remove_jetpack_widget_conditions',11); | |
function remove_jetpack_widget_conditions(){ | |
remove_action( 'init', array('Jetpack_Widget_Conditions','init') ); | |
} |
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
<div id="primary" class="content-area site-archives col-xs-12"> | |
<?php if( function_exists('bcn_display') ) { | |
bcn_display(); | |
} ?> | |
<main id="main" class="site-main" role="main"> | |
<?php while ( have_posts() ) : the_post(); | |
get_template_part( 'content', 'page' ); |
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
jQuery(document).ready(function($) { | |
$(window).on('load resize orientationchange',aspectRatioRespond); | |
aspectRatioRespond(); | |
}); | |
function aspectRatioRespond(){ | |
mobileMax = 480; | |
elements = jQuery('[data-ratio]'); | |
elements.each(function(){ | |
container = jQuery(this); |