Used to provide structural templates.
Pattern
t-template-name
t-template-name--modifier-name
t-template-name__subcomponent-name--subcomponent-modifier-name
cat ~/.ssh/id_rsa.pub | pbcopy |
* we will remove all the width and height references, therefore the img tag | |
* will not add width and height attributes to the image sent to the editor. | |
* | |
* @param bool false No height and width references. | |
* @param int $id Attachment ID for image. | |
* @param array|string $size Optional, default is 'medium'. Size of image, either array or string. | |
* @return bool|array False on failure, array on success. | |
*/ | |
function myprefix_image_downsize( $value = false, $id, $size ) { | |
if ( !wp_attachment_is_image($id) ) |
<?php | |
/** | |
* WordPress Query Comprehensive Reference | |
* Compiled by luetkemj - luetkemj.com | |
* | |
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query | |
* Source: http://core.trac.wordpress.org/browser/tags/3.3.1/wp-includes/query.php | |
*/ | |
$args = array( |
<h1>Testing PHP Tabs</h1> | |
<?php | |
$links = array(); | |
$texts = array(); | |
// Add items to array | |
<t4 type="navigation" id="627"/> |
<?php | |
/** | |
* @copyright 2012 TheHydroImpulse, Daniel Fagnan | |
* @version 0.1 | |
* @todo Add an overwite ability. Among other things. | |
* @note Use this as you wish. Extend it, Mash it. Enjoy it. | |
*/ |
/***** Selector Hacks ******/ | |
/* IE6 and below */ | |
* html #uno { color: red } | |
/* IE7 */ | |
*:first-child+html #dos { color: red } | |
/* IE7, FF, Saf, Opera */ |
.clearfix:before, | |
.clearfix:after { | |
content: " "; | |
display: table; | |
} | |
.clearfix:after { | |
clear: both; | |
} |
<ul class="blocks four-up"> | |
<li> | |
<div class="media-block region heading-bottom"> | |
<figure> | |
<a href="#" title="Link title"> | |
<img src="http://placehold.it/210x210" alt="Image Alt"> | |
</a> | |
</figure> | |
<div class="media-body"> | |
<h4 class="media-heading-bottom">Course tutor: Valerie Mace</h4> |