The script below is triggered every day from my Mac. I use Hazel to move the tar.gz to an external hard disk once it's finished. This happens every day without me noticing.
You should have a similar script.
The script below is triggered every day from my Mac. I use Hazel to move the tar.gz to an external hard disk once it's finished. This happens every day without me noticing.
You should have a similar script.
custom wp_link_pages() for Foundation 2 & 3; | |
//:::: Step 1 :::::: add the following to functions.php ::::::::::::::::::// | |
//:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::// | |
<?php | |
add_action( 'reverie_page_links', 'reverie_page_links', 10, 1 ); | |
/** | |
* Modification of wp_link_pages() for custom styling for foundation 2 & 3 by Zurb for use within wordpress. |
/* | |
All code apart from getPlusones() | |
Copyright 2011 Martin Hawksey | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 |
<?php | |
function themename_customize_register($wp_customize){ | |
$wp_customize->add_section('themename_color_scheme', array( | |
'title' => __('Color Scheme', 'themename'), | |
'priority' => 120, | |
)); | |
// ============================= |
WebFontConfig = { | |
google: { families: [ 'Istok+Web:400,700:latin' , 'Lora:400,700:latin' ] } | |
}; | |
(function() { | |
var wf = document.createElement('script'); | |
wf.src = ('https:' == document.location.protocol ? 'https' : 'http') + '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js'; | |
wf.type = 'text/javascript'; | |
wf.async = 'true'; | |
var s = document.getElementsByTagName('script')[0]; | |
s.parentNode.insertBefore(wf, s); |
# This goes in _plugins/excerpt.rb | |
module Jekyll | |
class Post | |
alias_method :original_to_liquid, :to_liquid | |
def to_liquid | |
original_to_liquid.deep_merge({ | |
'excerpt' => content.match('<!--more-->') ? content.split('<!--more-->').first : nil | |
}) | |
end | |
end |
# Jekyll category page generator. | |
# http://recursive-design.com/projects/jekyll-plugins/ | |
# | |
# Version: 0.1.4 (201101061053) | |
# | |
# Copyright (c) 2010 Dave Perrett, http://recursive-design.com/ | |
# Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | |
# | |
# A generator that creates category pages for jekyll sites. | |
# |