'home',
'queriedObject' => $queried_object,
'pathInfo' => array(
'author_permastruct' => $wp_rewrite->get_author_permastruct(),
'host' => preg_replace( '#^http(s)?://#i', '', untrailingslashit( home_url() ) ),
'path' => _s_backbone_get_request_path(),
'use_trailing_slashes' => $wp_rewrite->use_trailing_slashes,
'parameters' => _s_backbone_get_request_parameters(),
),
);
if ( is_category() || is_tag() || is_tax() ) {
$local['loopType'] = 'archive';
$local['taxonomy'] = get_taxonomy( $queried_object->taxonomy );
} elseif ( is_search() ) {
$local['loopType'] = 'search';
$local['searchQuery'] = get_search_query();
} elseif ( is_author() ) {
$local['loopType'] = 'author';
}
if ( is_paged() ) {
$local['page'] = absint( get_query_var( 'paged' ) ) + 1;
}
wp_localize_script( '_s_backbone-loop', 'settings', $local );
}
else {
wp_enqueue_script( 'script-o', get_template_directory_uri() . '/js/script-o.js', '', '', true );
//wp_enqueue_script( 'script-o-min', get_template_directory_uri() . '/js/script-o.min.js', 'jquery', '', true );
wp_enqueue_script( 'init-o', get_template_directory_uri() . '/js/init-o.js', '', '', true );
//wp_enqueue_script( 'init-o-min', get_template_directory_uri() . '/js/init-o.min.js', 'jquery', '', true );
}
}
add_action('wp_footer', 'dw_html5shim', 21);
function dw_html5shim() { ?>