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 | |
/** | |
* My Account page | |
* | |
* @author WooThemes | |
* @edited by McLane Creative | |
* @package WooCommerce/Templates | |
* @version 3.1.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
/* 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' ) ) { |
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
/* 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 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 | |
/*----------------------------------------------------------------------------------- | |
CLASS INFORMATION | |
Description: A custom WooThemes Component widget. | |
Date Created: 2011-07-27. | |
Last Modified: 2011-07-27. | |
Author: WooThemes. | |
Forked: Adam McLane |
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 | |
/** | |
* Homepage Events Panel | |
* Created by Adam McLane | |
*/ | |
/** | |
* The Variables | |
* | |
* Setup default variables, overriding them if the "Theme Options" have been saved. |
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
$options[] = array( "name" => __('Events Area', 'woothemes'), | |
"type" => "subheading" ); | |
$options[] = array( "name" => __('Number of Event items', 'woothemes'), | |
"desc" => __('Select the number of events that should appear in the event area on the home page.', 'woothemes'), | |
"id" => $shortname."tribe_entries", | |
"std" => "3", | |
"type" => "select", | |
"options" => $other_entries); | |
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
add_filter('woocommerce_email_footer_text','add_ip_to_email_footer', 10, 1); | |
function add_ip_to_email_footer( $footer ){ | |
return $footer . ' | User IP: ' . getRealIPAddress(); | |
} | |
function getRealIPAddress(){ | |
if (!empty($_SERVER['HTTP_CLIENT_IP'])){ |
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
-/* | |
Theme Name: UYWI-2014 | |
Theme URI: http://uywi.org/ | |
Description: Urban Youth Workers Institute - 2014 | |
Author: Adam McLane | |
Author URI: http://theyouthcartel.com | |
Template: whitelight | |
Version: 0.4.6 | |
*/ |
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 /* | |
Template Name: Home | |
*/ ?> | |
<?php get_header(); ?> | |
<div id="content" class="full"> | |
<?php get_template_part( 'part-projects-home'); ?> | |
<div id="progress_report"><span class="home-progress-signup"><a href="#">SIGN UP</a></span><br /><p><span class="home-progress-learnmore"><a href="#">OR LEARN MORE</a></span></p> | |
<h1>Progress Report</h1><br /><h4>Vivamus condimentum eleifend vehicula. Maecenas pulvinar tellus velit, sed consectetur lorem porttitor eget. Nam sagittis tempor tristique.</h4> | |
<p><h6>OUR PROJECT GOAL = <strong>$300,000</strong></h6></p></div> | |
<div id="fundraise_report"><div id="progress_table"> |
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
/* Credits | |
v 1.13 | |
Childhood Lost, World Vision | |
Theme customizations: Adam McLane | |
Github revision repository: https://gist.github.com/mclanecreative/6237117 | |
*/ | |
/* Header */ | |
#logo { |
NewerOlder