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
<!DOCTYPE html> | |
<html> | |
<head> | |
<link rel="stylesheet" href="styles.css" type="text/css"> | |
<link href="//fonts.googleapis.com/css?family=Nunito:400,300,700" rel="stylesheet" type="text/css"> | |
</head> | |
<body> | |
<div class="container"> | |
<div id="intro"> | |
<div class="grid_4"> |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title> JavaScript Foundations: Arrays</title> | |
<style> | |
html { | |
background: #FAFAFA; | |
font-family: sans-serif; | |
} | |
</style> |
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
//Source A shows this syntax as the proper way to write all jQuery code. | |
$(document.ready(function(){ | |
$('thingToInteractWith').event(function(){ | |
$('thingToAffect').effect(); | |
}); | |
}); | |
//Another example below |
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 $pageOne = get_theme_mod( 'page_one', '2' ); $pageTwo = get_theme_mod( 'page_two', '2' ); $pageThree = get_theme_mod( 'page_three', '2' ); ?> | |
<?php if ( 'false' == ( $pageOne ) || '' != ( $pageOne ) && 'false' == ( $pageTwo ) || '' != ( $pageTwo ) && 'false' == ( $pageThree ) || '' != ( $pageThree ) ) { ?> | |
<!-- BEGIN .row --> | |
<div class="row featured-pages"> | |
<!-- BEGIN .content --> | |
<div class="content"> | |
<!-- BEGIN .sixteen columns --> |
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 $pageOne = get_theme_mod( 'page_one', '2' ); $pageTwo = get_theme_mod( 'page_two', '2' ); $pageThree = get_theme_mod( 'page_three', '2' ); ?> | |
<?php if ( 'false' == ( $pageOne ) || '' != ( $pageOne ) && 'false' == ( $pageTwo ) || '' != ( $pageTwo ) && 'false' == ( $pageThree ) || '' != ( $pageThree ) ) { ?> | |
<!-- BEGIN .row --> | |
<div class="row featured-pages"> | |
<!-- BEGIN .content --> | |
<div class="content"> | |
<!-- BEGIN .sixteen columns --> |
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 | |
/** | |
* Plugin Name: GreekBank Functionality | |
* Plugin URI: http://zao.is | |
* Description: Adds all necessary functionality for GreekBank | |
* Version: 1.0 | |
* Author: Justin Sainton | |
* Author URI: http://zao.is | |
*/ |
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 template for displaying product widget entries | |
* | |
* This template can be overridden by copying it to yourtheme/woocommerce/content-widget-product.php. | |
* | |
* HOWEVER, on occasion WooCommerce will need to update template files and you | |
* (the theme developer) will need to copy the new files to your theme to | |
* maintain compatibility. We try to do this as little as possible, but it does | |
* happen. When this occurs the version of the template file will be bumped and |
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 | |
if ( ! defined( 'ABSPATH' ) ) { | |
exit; | |
} | |
/** | |
* Grid of products. | |
* | |
* @author WooThemes | |
* @category Widgets | |
* @package WooCommerce/Widgets |
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 | |
if ( ! defined( 'ABSPATH' ) ) { | |
exit; | |
} | |
/** | |
* Grid of products. | |
* | |
* @author WooThemes | |
* @category Widgets |
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_action( 'wp_enqueue_scripts' , '_wpsc_te2_enqueue_styles', 1 ); | |
function _wpsc_te2_enqueue_styles() { | |
wp_register_style( 'wpsc-common', wpsc_locate_asset_uri( 'css/common.css' ), array(), WPSC_VERSION ); | |
do_action( 'wpsc_register_styles' ); | |
wp_enqueue_style( 'wpsc-common' ); |