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
<h1>My Pets</h1> | |
<p>This page is about my pets.</p> | |
<h2>Cats</h2> | |
<p>I have two cats.</p> | |
<h3>Fluffy</h3> | |
<p>Fluffy is a black cat. He is not particularly fluffy but is a little flabby.</p> | |
<h3>Django</h3> | |
<p>Django is a Bengal cat, a descendent of the Asian Leopard Cat. Django is very beautiful but is a complete lunatic.</p> | |
<h2>Dogs</h2> | |
<p>Sadly, I don't have any dogs at the moment, but used to own one.</p> |
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
/* Prepend a Font Awesome icon before link text or page title in Genesis */ | |
.genesis-nav-menu .menu-item-124 a:before, | |
.page-id-2 .entry-title:before{ | |
content: "\f0c0"; | |
font-family: FontAwesome; | |
margin-right: 5px; | |
display: inline-block; | |
font: normal normal normal 14px/1 FontAwesome; | |
font-size: inherit; | |
text-rendering: auto; |
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 | |
//* Enqueue Font Awesome | |
add_action( 'wp_enqueue_scripts', 'ifamily_load_fontawesome' ); | |
function ifamily_load_fontawesome() { | |
wp_enqueue_style( 'font-awesome', '//netdna.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css', array(), '4.3.0' ); | |
} |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
/* Text meant only for screen readers. */ | |
.screen-reader-text { | |
clip: rect(1px, 1px, 1px, 1px); | |
position: absolute !important; | |
height: 1px; | |
width: 1px; | |
overflow: hidden; | |
} |
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 | |
/* | |
One wp-config for local development to staging to production. | |
*/ | |
// Define Environments | |
$environments = array( |
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
<i class="fa fa-wordpress fa-lg"></i> fa-lg | |
<i class="fa fa-wordpress fa-2x"></i> fa-2x | |
<i class="fa fa-wordpress fa-3x"></i> fa-3x | |
<i class="fa fa-wordpress fa-4x"></i> fa-4x | |
<i class="fa fa-wordpress fa-5x"></i> fa-5x |
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
<i class="fa fa-tree"></i> |
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
//* Register and load Font Awesome CSS files using a CDN. | |
add_action( 'wp_enqueue_scripts', 'ifamily_enqueue_awesome' ); | |
function ifamily_enqueue_awesome() { | |
wp_enqueue_style( 'ifamily-font-awesome', '//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css', array(), '4.1.0' ); | |
} |
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
/* | |
Clear fix for column classes | |
---------------------------------------------------------------------------------------------------- */ | |
.clear-line:after { | |
content: "."; | |
display: block; | |
clear: both; | |
visibility: hidden; | |
line-height: 0; | |
height: 0; |
NewerOlder