- Revised date: 02/12/2014
Between us [company name] and you [customer name]
<?php | |
/** | |
* Teo Lopez Wordpress Plugin Boilerplate | |
* Built from: The WordPress Plugin Boilerplate. | |
* | |
* A foundation off of which to build well-documented WordPress plugins that | |
* also follow WordPress Coding Standards and PHP best practices. | |
* | |
* @package |
<?php | |
/* Register custom post types on the 'init' hook. */ | |
add_action( 'init', 'my_register_post_types' ); | |
/** | |
* Registers post types needed by the plugin. | |
* | |
* @since 0.1.0 | |
* @access public |
<table class="table table-bordered table-condensed table-hover"> | |
<?php | |
$row = 1; | |
ini_set('auto_detect_line_endings',TRUE); | |
if (($handle = fopen("http://docs.shopify.com/manual/your-store/products/product_template.csv", "r")) !== FALSE) { | |
while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) { | |
$num = count($data); | |
echo "<tr>"; |
if(function_exists("register_field_group")) | |
{ | |
register_field_group(array ( | |
'id' => 'acf_team-rosters', | |
'title' => 'Team Rosters', | |
'fields' => array ( | |
array ( | |
'key' => 'field_537e71196bd9b', | |
'label' => 'Coach Roster', | |
'name' => '', |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
/** | |
* | |
* Generate Multiple Pages – Child Pages | |
* | |
**/ | |
$boysTeams = array( | |
'Basketball', | |
'Baseball', |
/* Replace superintendent */ | |
add_action( 'init', 'codex_superintendent_init' ); | |
/** | |
* Register a superintendent post type. | |
* | |
* @link http://codex.wordpress.org/Function_Reference/register_post_type | |
*/ | |
function codex_superintendent_init() { | |
$labels = array( |
$('.bxslider').bxSlider({ | |
auto: true, | |
autoDirection: 'prev', | |
}); |
<div class="control-group"> | |
<label class="control-label" for="inputEmail">LinkedIn URL</label> | |
<div class="controls"> | |
<input type="text" name="linkedin" id="linkedin" class="input-medium" /> | |
</div> | |
</div> | |
<div class="control-group"> | |
<label class="control-label" for="inputEmail">Twitter</label> | |
<div class="controls"> | |
<div class="input-prepend"> |