Skip to content

Instantly share code, notes, and snippets.

View gspice's full-sized avatar

Ginger Coolidge gspice

  • GSC Solutions LLC
  • Lincoln City, Oregon
View GitHub Profile

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.

@gspice
gspice / 0_reuse_code.js
Last active August 29, 2015 14:17
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@gspice
gspice / change-comments-Genesis-child-themes.php
Last active August 29, 2015 14:16
Remove HTML tag info after comments and change label before comment block
//change the comments header
function wap_comment_form_defaults( $defaults ) {
$defaults['title_reply'] = __( 'Join the Conversation' );
return $defaults;
}
add_filter( 'comment_form_defaults', 'wap_comment_form_defaults' );
@gspice
gspice / wap-agentpress-featured-listings-custom-text-field-banner.css
Last active August 29, 2015 14:16
Show custom text from AgentPress Listings - Featured Listings on WAP featured listings on home page
@gspice
gspice / testimonial-content-box-gray.css
Last active August 29, 2015 14:16
Formatting for a testimonial content box, credit to @savvyjackie
.testimonial-box-gray {
background-color: #eee;
border-left: 10px solid #ccc;
font-style: italic;
font-weight: 200;
margin-bottom: 30px;
padding: 35px;
}
// Filter the title with a custom function
add_filter('genesis_seo_title', 'wap_site_title' );
// Add additional custom style to site header
function wap_site_title( $title ) {
// Change $custom_title text as you wish
$custom_title = '<span class="custom-title">WA</span>Estate';
// Don't change the rest of this on down
@gspice
gspice / wap-community-add-layouts
Created March 4, 2015 14:48
add layout options to wap-community pages
//add layout support for community pages
add_post_type_support( 'wap-community', 'genesis-layouts' );
@gspice
gspice / pricing-table.html
Last active August 29, 2015 14:15 — forked from studiopress/pricing-table.html
pricing table from Parallax Pro theme demo
<p>Our SEO services are among the very best in the industry.</p>
<div class="pricing-table">
<div class="one-third first">
<h4>Basic - $95</h4>
<ul>
<li>List Item #1</li>
<li>List Item #2</li>
<li>List Item #3</li>
@gspice
gspice / wap-featured-listings-rows.css
Last active August 29, 2015 14:14
wap increase min-height on features listings widget area to have more than 3 - must be in multiples of 3
@gspice
gspice / exclude-agent-evolution-profiles.php
Last active August 29, 2015 14:13
Genesis Agent Profiles adds featured image to content already, so then the theme adds it as well. Exclude by adding the CPT to the existing conditional in WAP's functions.php
// Add featured image above single posts.
add_action( 'genesis_before_entry_content', 'wap_featured_image' );
function wap_featured_image() {
// Return early if not a singular or does not have thumbnail
if ( ! is_singular() || ! has_post_thumbnail() || is_singular( 'aeprofiles' ) ) { //or use wap-community
return;
}
echo '<div class="featured-image">';