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
/* Accordian Indicators */ | |
.panel-heading .accordion-toggle:before { | |
/* symbol for "opening" panels */ | |
font-family: 'Glyphicons Halflings'; /* essential for enabling glyphicon */ | |
content: "\e082"; /* adjust as needed, taken from bootstrap.css */ | |
float: left; /* adjust as needed */ | |
margin-right: 10px; | |
} | |
.panel-heading .accordion-toggle.collapsed:before { | |
/* symbol for "collapsed" panels */ |
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
/* | |
Live.js - One script closer to Designing in the Browser | |
Written for Handcraft.com by Martin Kool (@mrtnkl). | |
Version 4. | |
Recent change: Made stylesheet and mimetype checks case insensitive. | |
http://livejs.com | |
http://livejs.com/license (MIT) | |
@livejs |
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 | |
try { | |
/** | |
* AllClients Account ID and API Key. | |
*/ | |
$account_id = esc_html( get_theme_mod( 'all_clients_id' ) ); | |
$api_key = esc_html( get_theme_mod( 'all_clients_token' ) ); | |
//print_r($options); |
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
/** woocommerce remove elements **/ | |
remove_action( 'woocommerce_before_main_content','woocommerce_breadcrumb', 20, 0); | |
remove_action( 'woocommerce_before_shop_loop','woocommerce_result_count', 20, 0); | |
remove_action( 'woocommerce_before_shop_loop','woocommerce_catalog_ordering', 30, 0); | |
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_title', 5 ); | |
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_meta', 40 ); | |
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 10 ); | |
remove_action( 'woocommerce_after_single_product_summary','woocommerce_output_product_data_tabs', 10, 0); |
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 | |
// woocommerce cart disable requirement of payment | |
add_filter('woocommerce_cart_needs_payment', '__return_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
<?php | |
/** | |
* Add Default Custom Fields To Posts | |
* Note: This is just an example. | |
*/ | |
add_action('wp_insert_post', 'set_default_custom_fields'); | |
function set_default_custom_fields($post_id){ | |
// slides can be post or any custom post type | |
if ( $_GET['post_type'] == 'slides' ) { | |
add_post_meta($post_id, 'subtitle', '', true); |
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
/* Grid Variables */ | |
$grid-columns: 12; | |
$grid-max-width: 1920px; | |
/* Break Points */ | |
$breakpoint-xs: "screen and (min-width: 320px)"; | |
$breakpoint-ms: "screen and (min-width: 480px)"; | |
$breakpoint-sm: "screen and (min-width: 768px)"; | |
$breakpoint-md: "screen and (min-width: 1024px)"; | |
$breakpoint-lg: "screen and (min-width: 1280px)"; |
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 | |
/** | |
* Create post loop query | |
*/ | |
$paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1; | |
$args = array( | |
'post_type' => 'post', | |
'orderby' => 'menu_order', | |
'order' => 'ASC', | |
'showposts' => 3, |