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 | |
/** | |
* Allows us to convert CSV/Spread Sheets and generate an XML file for the import of WordPress. | |
* | |
* Save this file into the root of your WordPress install to run. Other wise, modify the file path for the wp-load.php. | |
* | |
* EG. Use this URL to generate the XML. Or use cURL to save the file. | |
* http://localhost/import-csv-makerfaire.php?file_name=BazBizMF13_Vendor-IMPORT.csv&url=http://localhost/imports/ | |
* curl "http://localhost/import-csv-makerfaire.php?file_name=BazBizMF13_Vendor-IMPORT.csv&url=http://localhost/imports/" -o "makerfaire-exibit-import.xml" |
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
function load_wp_bootstrap() { | |
// Traverse the directory back to the root of the WordPress install. | |
// Adding a dirname() will go back one directory (equivilent to ../). | |
$root = dirname( dirname( dirname( dirname( dirname( __FILE__ ) ) ) ) ); | |
// Load the WordPress Bootstrap | |
if ( file_exists( $root . '/wp-load.php' ) ) require_once( $root . '/wp-load.php' ); | |
} |
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
(function($) { | |
$(function() { | |
$.fn.wptuts = function(options) { | |
var selector = $(this).selector; // Get the selector | |
// Set default options | |
var defaults = { | |
'preview' : '.preview-upload', | |
'text' : '.text-upload', | |
'button' : '.button-upload', | |
}; |
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
jQuery(document).ready(function(){ | |
jQuery('#tabs li').click(function() { | |
id = $(this).attr('id'); | |
//alert(id); | |
$('#steps div#js-' + id).slideDown(); | |
$('#steps div:not(#js-' + id + ')').slideUp(); | |
}); | |
}); |
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
a:5:{i:0;O:8:"stdClass":5:{s:5:"title";s:50:"Install the standpipe and underground drain pipe.";s:5:"lines";a:2:{i:0;O:8:"stdClass":4:{s:4:"text";s:408:"My design uses a 2" ABS standpipe that runs down from the washer and connects to a gently sloping horizontal pipe buried under a garden path. At the other end, the water splits and travels a bit farther in 2 directions, then flows out through perforated pots and bark chip mulch, and into the soil beneath some water-loving plants and trees. The area to be watered was 40' away and 10' below the washer.";s:8:"text_raw";s:403:"My design uses a 2" ABS standpipe that runs down from the washer and connects to a gently sloping horizontal pipe buried under a garden path. At the other end, the water splits and travels a bit farther in 2 directions, then flows out through perforated pots and bark chip mulch, and into the soil beneath some water-loving plants and trees. The area to be watered was 40' away and 10' below the washer.";s:6:"bullet";s:5:"black";s:5:"lev |
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
// Import some requiredness from compass | |
@import "compass/reset"; | |
@import "compass/css3/box-shadow"; | |
@import "compass/css3/transform"; | |
// Define our mixin | |
@mixin fancy-box-shadow($color:rgba(0,0,0,.5), $left_shadow:-4deg, $right_shadow:4deg, $bottom:8px) { | |
position:relative; | |
background:#fff; |
NewerOlder