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
/* Credits | |
v 1.1 | |
Childhood Lost College Version, World Vision | |
Theme customizations: Adam McLane | |
Github revision repository: https://gist.github.com/mclanecreative/6237117 | |
*/ | |
/* Header */ | |
#logo { |
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 | |
/** | |
* My Account page | |
* | |
* @author WooThemes | |
* @edited by McLane Creative | |
* @package WooCommerce/Templates | |
* @version 3.1.0 | |
*/ |
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
Note: Make sure you've created a Storefront Child Theme before attempting this. (https://codex.wordpress.org/Child_Themes) See this customization live here: https://theyouthcartel.com | |
Changelog | |
*0.1* | |
- Hell yeah, got it to work | |
- Adds sticky post to homepage template | |
- If no sticky post is selected, displays the latest post |
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
/* | |
Theme Name: Cartel 4.0 | |
Theme URI: http://theyouthcartel.com/ | |
Description: Version 4 of the best damn youth ministry site in the land | |
Author: Adam McLane | |
Author URI: http://theyouthcartel.com | |
Template: storefront | |
Version: 2.0.0 | |
*/ |
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
/* Remove Storefront Product Search in Header*/ | |
add_action( 'init', 'jk_remove_storefront_header_search' ); | |
function jk_remove_storefront_header_search() { | |
remove_action( 'storefront_header', 'storefront_product_search', 40 ); | |
} | |
/* Add Product Search extension to replace default search product*/ | |
if ( ! function_exists( 'storefront_all_search' ) ) { | |
function storefront_all_search() { | |
if ( function_exists( 'woocommerce_product_search' ) ) { |
OlderNewer