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
<?php | |
// SETUP: | |
// 1. Customize all the settings (stripe api key, email settings, email text) | |
// 2. Put this code somewhere where it's accessible by a URL on your server. | |
// 3. Add the URL of that location to the settings at https://manage.stripe.com/#account/webhooks | |
// 4. Have fun! | |
// set your secret key: remember to change this to your live secret key in production | |
// see your keys here https://manage.stripe.com/account |
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
/** | |
* Gulpfile | |
* | |
* @since 1.0.0 | |
*/ | |
/** | |
* Load Plugins. | |
* |
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
# Packages # | |
############ | |
*.7z | |
*.dmg | |
*.gz | |
*.bz2 | |
*.iso | |
*.jar | |
*.rar | |
*.tar |
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
/** | |
* Social Media Colors | |
*/ | |
$facebook: #3b5998; /* Facebook */ | |
$twitter: #1da1f2; /* Twitter */ | |
$linkedin: #0077b5; /* LinkedIn */ | |
$googleplus: #dd4b39; /* Google+ */ | |
$instagram: #000000; /* Instagram */ | |
$skype: #00aff0; /* Skype */ |
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
<?php | |
if ( ! function_exists( 'inspiry_fix_select2_wc' ) ) { | |
/** | |
* inspiry_fix_select2_wc. | |
* | |
* This function removes select2 JS and CSS of WooCommerce | |
* so that theme can use its own. | |
* |
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
<?php | |
if ( ! function_exists( 'inspiry_fix_select2_wc' ) ) { | |
/** | |
* inspiry_fix_select2_wc. | |
* | |
* This function removes select2 JS and CSS of WooCommerce | |
* so that theme can use its own. | |
* |
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
<?php | |
/** | |
* Function to override the checkout fields of WooCommerce. | |
* | |
*/ | |
if ( ! function_exists( 'override_woocommerce_checkout_fields' ) ) { | |
function override_woocommerce_checkout_fields( $fields ) { |
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
/** | |
* Click on the pagination thumbnail | |
* to drag the owlcarosel to a particular clicked image | |
* and highlight its thumbnail. | |
* | |
* @author Ahmad Awais | |
* @since 1.0.0 | |
*/ | |
$('.vr_carousel__pagDiv').click(function() { | |
// Efficient $this. |
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
<?php | |
/** | |
* This function removes HTTP error from images | |
* while uploading on HTTPS protocol. | |
*/ | |
if ( !function_exists( 'http_wp_error_fix' ) ) { | |
function http_wp_error_fix( $array ) { | |
return array( 'WP_Image_Editor_GD', 'WP_Image_Editor_Imagick' ); |
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
{ | |
"always_show_minimap_viewport": true, | |
"auto_upgrade": false, | |
"bold_folder_labels": false, | |
"color_scheme": "Packages/Theme - Cobalt2/cobalt2.tmTheme", | |
"default_line_ending": "unix", | |
"font_size": 12, | |
"ignored_packages": | |
[ | |
"Markdown", |