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
<div class="tabbable tabs-left"> | |
<ul class="nav nav-tabs"> | |
<li class="active"><a href="#1" data-toggle="tab">Main Stage</a></li> | |
<li><a href="#2" data-toggle="tab">Center Stage</a></li> | |
</ul> | |
<div class="tab-content" style="width:497px"> | |
<div class="tab-pane active" id="1"> | |
[mf_full_schedule location="Main Stage"] | |
</div> | |
<div class="tab-pane" id="2"> |
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
<div class="tabbable tabs-left"> | |
<ul class="nav nav-tabs"> | |
<li class="active"><a href="#1" data-toggle="tab">Full Schedule</a></li> | |
<li><a href="#2" data-toggle="tab">Center Stage</a></li> | |
</ul> | |
<div class="tab-content" style="width:497px"> | |
<div class="tab-pane active" id="1"> | |
[mf_full_schedule location=""] | |
</div> | |
<div class="tab-pane" id="2"> |
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
$args = array( | |
'location' => $atts['location'], | |
'post_type' => 'event-items', | |
// 'orderby' => 'meta_value_num', | |
//'meta_key' => 'mfei_start', | |
'meta_value' => 'Sunday', | |
'posts_per_page'=> '30' | |
); | |
$query = new WP_Query( $args ); |
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
// Individual Arrays | |
array | |
0 => string 'Keith Pelczarski' (length=16) | |
1 => string 'Heather Harding' (length=15) | |
array | |
0 => string 'Lovebian Designs is run by Heather and Keith (a.k.a. Coco). They are jack-of-all-trades with strong interests in design, screen printing, and sewing. They hand make their products with love.' (length=190) | |
array | |
0 => string 'http://makerfaire.files.wordpress.com/2013/04/hk_unicorns-500x375.jpg' (length=69) | |
array |
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 | |
echo 'Hello World!'; |
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
/* | |
Blink | |
Turns on an LED on for one second, then off for one second, repeatedly. | |
This example code is in the public domain. | |
*/ | |
void setup() | |
{ | |
// initialize the digital pin as an output. |
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
# Import the required libraries for this script | |
import math, string, time, serial, win32api, win32con | |
# The port to which your Arduino board is connected | |
port = 'arduino_port' | |
# Invert y-axis (True/False) | |
invertY = False | |
# The cursor speed |
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
navigator.geolocation.getCurrentPosition(GetLocation); | |
function GetLocation(location) { | |
alert(location.coords.latitude); | |
alert(location.coords.longitude); | |
alert(location.coords.accuracy); | |
console.log(location); | |
} |
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
<? | |
/** | |
* Add different content types to the main queries. | |
* This will bring posts, craft, projects, video into the main query. Allows for better archive pages. | |
* @return string Main category name. | |
*/ | |
// TODO: Bring in reviews. | |
function make_add_custom_types( $query ) { | |
if ( ! is_admin() && $query->is_main_query() && ( $query->is_tag() || $query->is_author() || $query-> is_tax() ) && empty( $query->query_vars['suppress_filters'] ) ) { | |
$query->set( 'post_type', array( 'post', 'craft', 'projects', 'video' )); |
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 | |
$id = get_queried_object_id(); | |
$name = get_cat_name( $id ); | |
?> | |
<div class="grey child"> | |
<div class="container"> | |
<div class="row"> |