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> | |
<title>To-Do App</title> | |
<link href='http://fonts.googleapis.com/css?family=Architects+Daughter' rel='stylesheet' type='text/css'> | |
<link rel="stylesheet" href="css/style.css" /> | |
</head> | |
<body> | |
<!-- START #to-do-app --> |
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 | |
// Get value for total_raised from Classy apc_inc | |
// https://www.classy.org/api1/account-info?cid=16294&token=82nfmamctkvewbU4FoMa | |
$json = file_get_contents('https://www.classy.org/api1/account-info?cid=16294&token=82nfmamctkvewbU4FoMa'); | |
$data = json_decode($json); | |
// Just Testin' Yall | |
// echo '<pre>'; print_r($data); echo '</pre>'; |
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> | |
<title>FEWD RULEZ!</title> | |
<link rel="stylesheet" href="css/style.css" /> | |
<style type="text/css"> | |
.menu { | |
background: #000; | |
position: fixed; | |
top: 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 | |
remove_shortcode( 'video' ); | |
add_shortcode('videos', 'videos_shortcode'); | |
add_shortcode('video', 'videos_shortcode'); | |
function videos_shortcode( $atts ) { | |
extract(shortcode_atts(array( | |
'id' => '', | |
'url' => '' | |
), $atts)); |
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 | |
// Get video data | |
include get_stylesheet_directory() . '/parts/template/video-data.inc.php'; | |
// Output video data | |
echo '<div class="small-embed">'. $video_embed . '</div>'; | |
// Caption | |
echo '<div class="caption">' . get_the_title() . '</div>'; |
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 | |
// Get Video URL | |
$video_url = get_field( 'video_url' ); | |
// Get video ID | |
$video_data = parseVideoUrl( $video_url ); | |
// If YouTube | |
if ( $video_data['type'] == 'youtube' ) { |
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
// Video Related Functions | |
function parseVideoUrl($search){ | |
//setup matcher | |
$matcher = '([a-zA-Z0-9-_]+)'; | |
//setup the patterns | |
$patterns = array( | |
'youtube\.com\/watch\?v\='.$matcher => 'youtube', | |
'youtu\.be\/'.$matcher => 'youtube', | |
'youtube\.com\/embed\/'.$matcher => 'youtube', |
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
1. I leave my two desks to Joey | |
2. I leave my left over cookies to James | |
3. I leave my monitor to Brett | |
4. I leave my mousepad to Kathleen | |
5. I leave my unfinished Asana Tasks to James |
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
<div class="loanApplication"> | |
<!-- Nav tabs --> | |
<ul class="nav nav-tabs" role="tablist"> | |
<li role="presentation" class="active"><a href="#personalInfo" aria-controls="home" role="tab" data-toggle="tab">Personal Info</a></li> | |
<li role="presentation"><a href="#propertyInfo" aria-controls="profile" role="tab" data-toggle="tab">Property Info</a></li> | |
</ul> | |
<!-- Tab panes --> | |
<div class="tab-content"> |
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
<h3>About Us</h3> | |
SPARK Experience is a premier full-service design and UX firm based in Bethesda, MD. We believe in a research-driven, multidisciplinary approach to developing engaging and user-friendly websites, apps and digital games. We love working with organizations that share our values and our mission to make the world a better place. Our list of clients includes Fortune 500 companies, innovative startups, government agencies, and nonprofits. | |
SPARK Experience features a fast-paced, collaborative and friendly work environment. We seek talented employees who are eager to learn new skills and aren’t afraid to tackle big projects. We support the growth of our team members through ongoing professional development and mentorship. | |
We’re a small company that does big work — and we’re growing fast. In fact, our staff size has doubled each of the past two years. | |
SPARK Experience is committed to creating a diverse environment and is proud to be an equal opportunity employer. All qualified applicants will rece |