export PATH=/Applications/MAMP/bin/php/php5.6.10/bin:$PATH
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
@mixin box-shadow($top, $left, $blur, $color, $inset: false) { | |
@if $inset { | |
-webkit-box-shadow:inset $top $left $blur $color; | |
-moz-box-shadow:inset $top $left $blur $color; | |
box-shadow:inset $top $left $blur $color; | |
} @else { | |
-webkit-box-shadow: $top $left $blur $color; | |
-moz-box-shadow: $top $left $blur $color; | |
box-shadow: $top $left $blur $color; | |
} |
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
<form action="form-submission.cfm"></form> | |
<!--Using the variables from form.html--> | |
<form action="form-submission.cfm" method="get"></form> | |
<!-- | |
WHEN TO USE GET | |
If the form submission is passive (like a search engine query), and without sensitive information.--> | |
<form action="form-submission.cfm" method="post"></form> |
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
jQuery(document).ready(function($) { | |
/** Insert Code Here */ | |
}); |
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
<body> | |
<form action="test.php" method="post"> | |
<div class="row"> | |
<div class="large-12-columns"> | |
<fieldset> | |
<legend>Date of Presentation</legend> | |
<label for="">Presentation Date</label> | |
<input type="text" name="jquerydatepicker" class="selector" value="<?php if (isset($_POST['jquerydatepicker'])) { | |
echo $_POST['jquerydatepicker']; | |
} |
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 | |
/** | |
* The WordPress Query class. | |
* @link http://codex.wordpress.org/Function_Reference/WP_Query | |
*/ | |
$args = array( | |
/** Post & Page Parameters */ | |
'p' => 1, | |
'name' => 'hello-world', | |
'page_id' => 1, |
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
├─┬ [email protected] | |
│ ├── [email protected] | |
│ ├── [email protected] | |
│ ├── [email protected] | |
│ └─┬ [email protected] | |
│ ├── [email protected] | |
│ ├── [email protected] | |
│ └─┬ [email protected] | |
│ └── [email protected] | |
├─┬ [email protected] |
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 | |
//Add Activate Button | |
function my_plugin_activate(){ | |
//db create, create options, etc | |
error_log('My plugin activated'); | |
} | |
register_activation_hook(__FILE__, 'my_plugin_activate'); | |
//Add Deactivate Button | |
function my_plugin_deactivate(){ |