This file contains 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 | |
/** | |
* The Header for our theme. | |
* | |
* Displays all of the <head> section and everything up till <div id="content"> | |
* | |
* @package ivan_framework | |
*/ | |
?><!DOCTYPE html> | |
<html <?php language_attributes(); ?>> |
This file contains 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
- [x] Home - http://lumeninteractive.com/index/ | |
- [x] About - http://lumeninteractive.com/wip-us/ | |
- Hire Us to Speak at your Event | |
- Our Partners | |
- Our Story | |
- Scholarship | |
- [x] Blog - http://lumeninteractive.com/blog/ | |
... | |
- [x] SEO - http://lumeninteractive.com/wip-search-engine-optimization/ | |
- [x] Web Design - (migrate gallery of projects to my own - http://codeniners.wpdemo.io/eliteaddons/work/caption-cover-special/) |
This file contains 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
# ------------------------------------------------------------------------------ | |
# | Compression | | |
# ------------------------------------------------------------------------------ | |
<IfModule mod_deflate.c> | |
# Force compression for mangled headers. | |
# https://developer.yahoo.com/blogs/ydn/pushing-beyond-gzipping-25601.html |
This file contains 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
// Arrays & Objs Without Mutations | |
var list = ['1', '2', '3']; | |
var obj = {item: 1, blob: 2}; | |
// Adds item to array | |
list.concat(['4', '5']); | |
[...list, [4, 5]]; |
This file contains 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
function custom_wc_ajax_variation_threshold( $qty, $product ) { | |
return 200; | |
} | |
add_filter( 'woocommerce_ajax_variation_threshold', 'custom_wc_ajax_variation_threshold', 10, 2 ); |
This file contains 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
$('ul.nav li a, .logo a, .featured a, .hero-section a, .prices a').on('click', function(e) { | |
el = $(this).attr('href'); | |
if (el.charAt(0) == "#") { | |
$('html, body').animate({ | |
scrollTop: $(el).offset().top - 74 | |
}, 750); | |
e.preventDefault(); | |
} | |
}); |
This file contains 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
sudo zip -r ivan-offset-all.zip ivan-offset.zip Documentation Import -x "*.DS_Store" |
This file contains 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
if(false == IVAN_OFFSET_DEBUG) { | |
// Register main theme styles and enqueue it. | |
// Hint: you can unregister it and replace by your own compiled version in a child theme. | |
wp_enqueue_style( 'ivan-theme-styles', get_template_directory_uri() . '/css/theme-styles'.$prefix.'.css', array(), '1' ); | |
} else { | |
wp_enqueue_script( 'webpack-dev-server', 'http://localhost:3002/webpack-dev-server.js', array(), null, false ); | |
wp_enqueue_script( 'webpack-bundle', 'http://localhost:3002/hmr/bundle.js', array(), null, false ); | |
} |
This file contains 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
function custom_wc_ajax_variation_threshold( $qty, $product ) { | |
return 10; | |
} | |
add_filter( 'woocommerce_ajax_variation_threshold', 'custom_wc_ajax_variation_threshold', 10, 2 ); |
This file contains 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
ini_set('memory_limit', '128M'); | |
ini_set('upload_max_filesize', '128M'); | |
ini_set('post_max_size', '128M'); | |
ini_set('file_uploads', 'On'); | |
ini_set('max_execution_time', '500'); | |
ini_set('file_uploads', 'On'); |
OlderNewer