Skip to content

Instantly share code, notes, and snippets.

Contract Killer 3

Revised date: 07/11/2012

Between us [company name] and you [customer name]

Summary:

We’ll always do our best to fulfil your needs and meet your expectations, but it’s important to have things written down so that we both know what’s what, who should do what and when, and what will happen if something goes wrong. In this contract you won’t find any complicated legal terms or long passages of unreadable text. We’ve no desire to trick you into signing something that you might later regret. What we do want is what’s best for both parties, now and in the future.

<?php
/**
/*
* Template Name: Welcome Page
*
* This file adds the Home Page to the Agency Pro Theme.
*
* @author StudioPress
* @package Agency Pro
* @subpackage Customizations
/** Force full width layout on single posts only*/
add_filter( 'genesis_pre_get_option_site_layout', 'full_width_layout_single_posts' );
/**
* @author Brad Dalton
* @link http://wpsites.net/web-design/change-layout-genesis/
*/
function full_width_layout_single_posts( $opt ) {
if ( is_single() ) {
$opt = 'full-width-content';
return $opt;
@jaygidwitz
jaygidwitz / gist:8d9262aeb0a23ff0c4a2
Created April 18, 2015 01:56
Force content layout on single posts and blog page.
add_filter( 'genesis_pre_get_option_site_layout', 'change_layout_blog_genesis');
function change_layout_blog_genesis( $opt ) {
if (is_single() || is_page_template( 'page_blog.php' ) ) {
$opt = 'content-sidebar';
return $opt;
}
}
idleTimer = null;
idleState = false;
idleWait = 2000;
(function ($) {
$(document).ready(function () {
$('*').bind('mousemove keydown scroll', function () {
@jaygidwitz
jaygidwitz / fat cats easy pricing table 4 columns.css
Last active January 15, 2016 22:04
fat cats easy pricing table 4 columns
/* # Pricing Table
---------------------------------------------------------------------------------------------------- */
.ptp-dg6-row-id-4,
#ptp-154 div.ptp-dg6-bullet-item:nth-of-type(5) {
background-color: white;
}
<h1 class="aligncenter purple" >What Our Clients Say</h1>
<section id="featuredQuote">
<blockquote>
Stewart is like a great chef who uses a few simple ingredients but who's recipe comes out tasting better than you thought it could. I feel lucky that he teaches at the AS220 Community Darkroom.
</blockquote>
<cite>
Scott Lapham / Photo Coordinator AS220 Youth Program <br>
www.as220.org<br>
</cite>
{"status":"ok","post":{"id":2544,"type":"post","slug":"nicola-samori","url":"http:\/\/surrealismtoday.com\/nicola-samori\/","status":"publish","title":"Nicola Samori Contemporary Painting","title_plain":"Nicola Samori Contemporary Painting","content":"<div class=\"tiled-gallery type-rectangular tiled-gallery-unresized\" data-original-width=\"700\" data-carousel-extra='{&quot;blog_id&quot;:1,&quot;permalink&quot;:&quot;http:\\\/\\\/surrealismtoday.com\\\/nicola-samori\\\/&quot;,&quot;likes_blog_id&quot;:37893431}' itemscope itemtype=\"http:\/\/schema.org\/ImageGallery\" > <div class=\"gallery-row\" style=\"width: 700px; height: 201px;\" data-original-width=\"700\" data-original-height=\"201\" > <div class=\"gallery-group images-1\" style=\"width: 200px; height: 201px;\" data-original-width=\"200\" data-original-height=\"201\" > <div class=\"tiled-gallery-item tiled-gallery-item-small\" itemprop=\"associatedMedia\" itemscope itemtype=\"http:\/\/schema.org\/ImageObject\"> <a href=\"http:\/\/surrealismtoday.com\/
{"version":"1.1","identifier":"post-2873","language":"en","title":"Mohammad Zaza","documentStyle":{"backgroundColor":"#FFFFFF"},"layout":{"columns":7,"width":1024,"margin":100,"gutter":20},"components":[{"role":"title","text":"Mohammad Zaza","textStyle":"default-title"},{"role":"container","layout":"headerContainerLayout","style":{"fill":{"type":"image","URL":"http:\/\/surrealismtoday.com\/wp-content\/uploads\/2016\/04\/Solo-II-Istanbul-Mohammad-Zaza.jpeg","fillMode":"cover"}},"behavior":{"type":"background_parallax"}},{"role":"byline","text":"by Jay Gidwitz | May 1, 2016 | 7:01 AM","textStyle":"default-byline","layout":"byline-layout"},{"role":"body","text":"Mohammad Zaza, Syrian artist, was born in Riyadh in 1987. Growing up in an artistic family, he started drawing and painting at an early age. After completing high school in Saudi Arabia, he moved to Syria in 2006 to study at the faculty of Fine Arts in Aleppo University. He held his first solo exhibition in 2008 and, after his graduation in 2010, was app
//* Enqueue scripts and styles
add_action( 'wp_enqueue_scripts', 'studio_issa_enqueue_scripts_styles' );
function studio_issa_enqueue_scripts_styles() {
wp_enqueue_script( 'pagefade', get_bloginfo( 'stylesheet_directory' ) . '/js/page-fade.js', array( 'jquery' ), '1.0.0' );
wp_enqueue_script( 'wow-js', get_bloginfo( 'stylesheet_directory' ) . '/js/wow.min.js', array( 'jquery' ), '1.0.0' );
wp_enqueue_script( 'wow-js-init', get_bloginfo( 'stylesheet_directory' ) . '/js/wow-init.js', array( 'jquery' ), '1.0.0' );
wp_enqueue_style( 'font-awesome', '//maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css' );
wp_enqueue_style( 'animate-css', get_bloginfo( 'stylesheet_directory' ) . '/css/animate.css', array(), CHILD_THEME_VERSION );