Skip to content

Instantly share code, notes, and snippets.

@CoachBirgit
CoachBirgit / Contract Killer 3.md
Created February 28, 2024 02:17 — forked from tony-caffe/Contract Killer 3.md
The latest version of Bytes Unlimited ‘Contract Killer’ for web professionals

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Revised by Bytes Unlimited : Feb 3rd 2020

@CoachBirgit
CoachBirgit / create-wordpress-with-valet.sh
Last active October 31, 2023 16:51
Bash script: Use WP-CLI on Laravel/Valet to download, install and configure WordPress like a breeze.
#! /bin/bash
# Author: Birgit Olzem aka @CoachBirgit
# Version: 1.0
# Created on: January 19th 2022
# Requires WP-CLI, cURL, wget
# credits for the origin idea to Jeremy Herve: https://jeremy.hu/dev-environment-laravel-valet-wp-cli/
### How to use
@CoachBirgit
CoachBirgit / generate-dummy-posts-with-featured-images.sh
Created January 19, 2022 10:40
Use WP-CLI on Laravel/Valet to generate some dummy content with featured images
echo "Welcome to Create WordPress Site Wizard!"
echo -n "Enter Folder Name:"
read foldername
echo -n "Enter Site Name:"
read sitename
echo "Creating Site Folder"
mkdir ${foldername}
cd ${foldername}
@CoachBirgit
CoachBirgit / Contract Killer 3.md
Created March 14, 2018 09:16 — forked from malarkey/Contract Killer 3.md
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post

@CoachBirgit
CoachBirgit / style.css
Created January 13, 2016 16:04
Sample CSS using Neuton from Google Fonts.
body {
background-color: #fff;
color: #333;
font-family: Neuton, serif;
font-size: 22px;
font-weight: 300;
line-height: 1.5;
margin: 0;
}
@CoachBirgit
CoachBirgit / functions.php
Created January 13, 2016 16:03
Load Google Fonts with the Genesis Framework.
<?php
//* Do NOT include the opening php tag
//* Load Google Fonts
add_action( 'wp_enqueue_scripts', 'bg_load_google_fonts' );
function bg_load_google_fonts() {
wp_enqueue_style( 'google-fonts', '//fonts.googleapis.com/css?family=Lato:400,700|Neuton:400', array(), CHILD_THEME_VERSION );
}
@CoachBirgit
CoachBirgit / functions.php
Created January 13, 2016 16:02
Enqueue Dashicons with the Genesis Framework.
<?php
//* Do NOT include the opening php tag
//* Enqueue Dashicons
add_action( 'wp_enqueue_scripts', 'enqueue_dashicons' );
function enqueue_dashicons() {
wp_enqueue_style( 'dashicons' );
}
@CoachBirgit
CoachBirgit / functions.php
Created January 13, 2016 16:01
Customize site footer with the Genesis Framework.
<?php
//* Do NOT include the opening php tag
//* Remove the site footer
remove_action( 'genesis_footer', 'genesis_footer_markup_open', 5 );
remove_action( 'genesis_footer', 'genesis_do_footer' );
remove_action( 'genesis_footer', 'genesis_footer_markup_close', 15 );
//* Customize the site footer
add_action( 'genesis_footer', 'bg_custom_footer' );
@CoachBirgit
CoachBirgit / functions.php
Created January 13, 2016 16:01
Remove the author box on archive pages with the Genesis Framework.
<?php
//* Do NOT include the opening php tag
//* Remove the author box on archive pages
remove_action( 'genesis_before_loop', 'genesis_do_author_box_archive', 15 );