Theme Number | Name |
---|---|
1 | Pilot |
2 | The Man in the S.U.V. |
3 | A Boy in a Tree |
4 | The Man in the Bear |
5 | A Boy in a Bush |
6 | The Man in the Wall |
7 | A Man on Death Row |
8 | The Girl in the Fridge |
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
<div id="primary"> | |
<div id="main" class="column md-8"> | |
<!-- Main Content Here --> | |
</div> | |
<div id="sidebar" class="column md-4"> | |
<div id="not-sticky-widget-area"> | |
<!-- Put not sticky sidebar here --> | |
</div> | |
<div id="sticky-widget-area"> | |
<!-- Put sticky sidebar 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
module.exports = function(grunt) { | |
grunt.loadNpmTasks('grunt-newer'); | |
grunt.loadNpmTasks('grunt-contrib-compass'); | |
grunt.loadNpmTasks('grunt-autoprefixer'); | |
grunt.loadNpmTasks('grunt-contrib-uglify'); | |
grunt.loadNpmTasks('grunt-contrib-jshint'); | |
grunt.loadNpmTasks('grunt-contrib-clean'); | |
grunt.loadNpmTasks('grunt-openport'); | |
grunt.loadNpmTasks('grunt-contrib-watch'); |
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 | |
/** | |
* Filter to stop jetpack from automatically inserting like buttons, so we can | |
* manually control their output | |
*/ | |
if( !function_exists( 'jptweak_remove_share' ) ) { | |
function jptweak_remove_share() { | |
remove_filter( 'the_content', 'sharing_display',19 ); | |
remove_filter( 'the_excerpt', 'sharing_display',19 ); | |
if ( class_exists( 'Jetpack_Likes' ) ) { |
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
Purpose: Display navigation of a pages siblings and children. | |
1. Children / Grandchildren of SIBLING top level pages are hidden (visually) | |
2. All top level pages are visible, and the navigation down to 1 level below the current page | |
2. Items are not expandable, the purpose is not to provide a full navigation menu, instead the goal is to provide links Nth levels up, and 1 level down the navigational tree. | |
In this way, as pages are added / removed from the site, they are automatically represented in the related navigation tree. |
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 | |
/** | |
* mpress Theme Customizer. | |
* @package mpress | |
*/ | |
class Mpress_Theme_Customizer { | |
private $sections; | |
private $settings; | |
private $controls; |
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
## Permanently Redirect Entire Domain | |
RewriteEngine on | |
RewriteCond %{HTTP_HOST} ^example.com [NC,OR] | |
RewriteCond %{HTTP_HOST} ^www.example.com [NC] | |
RewriteRule ^(.*)$ http://example.net/$1 [L,R=301,NC] |
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
<main id="main" class="site-main" role="main"> | |
<?php | |
// WP_Query arguments | |
$args = array ( | |
'post_type' => array( 'band' ), | |
'post_status' => array( 'publish' ), | |
'nopaging' => true, | |
'posts_per_page' => '-1', | |
'order' => 'ASC', | |
'orderby' => 'menu_order', |
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
<div class="togglevisible" data-click-target=".inner"> | |
<p>alksjdfkajsdfkaskdfj</p> | |
<div class="inner"> | |
<p>this is a paragraph</p> | |
<a href="http://google.com" target="_blank">link</a> | |
</div> | |
</div> |
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
// Document ready function | |
jQuery( document ).ready(function($) { | |
'use strict'; | |
// Define our elements so we can cache them | |
var $masthead = $( '$masthead' ); | |
var $body = $( 'body' ); | |
// Use waypoints | |
$body.waypoint( function( direction ) { | |
if( direction === 'down' ) { | |
//do stuff you want to happen on down |