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 | |
/* | |
Author: Nick Haskins | |
Author URI: http://nickhaskins.co | |
Plugin Name: Long Form Helper | |
Plugin URI: http://nickhaskins.co | |
Version: 1.0 | |
Description: A helper plugin for long posts by introducing a "scroll to" floating panel. | |
*/ |
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
.article-wrap { | |
position: relative; | |
} | |
.scroll-nav { | |
} | |
.scroll-nav{ | |
@size: 12px; | |
@bg: @baseContrastSlight; |
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
$meta_boxes[] = array( | |
'title' => __('Flacker Front Page Meta', 'fotos'), | |
'pages' => 'page', | |
'show_on' => array( 'page-template' => 'front-page.php' ), | |
'fields' => array( | |
array( | |
'id' => 'flacker_info_module', | |
'name' => __('Info Module', 'flacker'), | |
'type' => 'group', | |
'repeatable' => true, |
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 | |
/** | |
* SSL Controls | |
*/ | |
class flackerSSLControl { | |
function __construct(){ | |
add_action( 'template_redirect', array($this,'url_change' ),1); |
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 strict'; | |
module.exports = function(grunt) { | |
require('load-grunt-tasks')(grunt); | |
grunt.initConfig({ | |
// watch our project for changes | |
watch: { | |
compass: { |
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
<!-- Start Aesop Crowdhoster --> | |
<blockquote> | |
<p>...one of the most beautiful tools for Wordpress that I've seen in a long time.</p> | |
<cite>- <a href="http://wptavern.com/aesop-story-engine-an-open-source-wordpress-plugin-for-storytelling">WP Tavern</a></cite></blockquote> | |
<blockquote> | |
<p>...a potentially seismic shift in content creation and the biggest thing to hit WP for ages.</p> | |
<cite>- <a href="http://wptavern.com/aesop-story-engine-an-open-source-wordpress-plugin-for-storytelling#comment-50657">Chris Knowles</a></cite></blockquote> | |
<blockquote> |
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 | |
class sampleClass { | |
function __construct() { | |
add_filter( 'edd_settings_tabs', array($this,'test_tab' )); | |
add_action('admin_init', array($this,'edd_register_settings_test')); | |
} |
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
.aesop-on-genesis .site-inner{ | |
max-width:100%; | |
} | |
.aesop-on-genesis .entry { | |
padding-left:0; | |
padding-right:0; | |
} | |
.aesop-on-genesis .entry-header, | |
.aesop-on-genesis .entry-content > *:not(.aesop-component) { | |
width: 100%; |