Skip to content

Instantly share code, notes, and snippets.

View mclanecreative's full-sized avatar

adam mclane mclanecreative

View GitHub Profile
<?php /*
Template Name: Home
*/ ?>
<?php get_header(); ?>
<div id="content" class="full">
<?php get_template_part( 'part-projects-home'); ?>
<div id="progress_report"><span class="home-progress-signup"><a href="#">SIGN UP</a></span><br /><p><span class="home-progress-learnmore"><a href="#">OR LEARN MORE</a></span></p>
<h1>Progress Report</h1><br /><h4>Vivamus condimentum eleifend vehicula. Maecenas pulvinar tellus velit, sed consectetur lorem porttitor eget. Nam sagittis tempor tristique.</h4>
<p><h6>OUR PROJECT GOAL = <strong>$300,000</strong></h6></p></div>
<div id="fundraise_report"><div id="progress_table">
@mclanecreative
mclanecreative / style.css
Last active December 21, 2015 02:48
Childhood Lost Theme CustomizationsMostly trying to capture the progress and keep changes in a safe place between nightly backups.
/* Credits
v 1.13
Childhood Lost, World Vision
Theme customizations: Adam McLane
Github revision repository: https://gist.github.com/mclanecreative/6237117
*/
/* Header */
#logo {
@mclanecreative
mclanecreative / wp-responsive-navigation
Created May 4, 2013 21:06
A base for dropping in responsive elements for a theme, specifically pulling out the standard navigation and dropping in a mobile navigation
/* ======================================================= */
/* Responsive Nav Queries - Swaps normal Nav with a dropdown menu with the #responsive-nav ID */
/* ======================================================= */
#responsive-nav{display: none; float: right;}
#responsive-nav li{clear: both;}
/* @media only screen
and (max-width: 960) {
.navigation ul.sf-menu { display: none; }
@mclanecreative
mclanecreative / hello-darth.php
Last active December 14, 2015 21:18
This little WordPress plugin is in homage to my geek friends who love to hate Lord Vader.
<?php
/**
* @package Hello_Darth
* @version 0.2
*/
/*
Plugin Name: Hello Darth
Plugin URI: http://wordpress.org/extend/plugins/hello-darth/
Description: This little plugin is in homage to my geek friends who love to hate Lord Vader. When activated you will randomly see a quote from <a href="http://www.imdb.com/character/ch0000005/quotes">Darth Vader's IMDB page</a> in the upper right of your admin screen on every page. HT to <a href="http://ma.tt">Matt Mullenberg</a> for the original code. <a href="https://wordpress.org/support/plugin/hello-darth">Support and suggestions</a> are welcome.
Author: Adam McLane | @mclanecreative
@mclanecreative
mclanecreative / espn-inspired-prompt-css
Last active December 14, 2015 19:59
/// WordPress hack /// Fashioned after ESPN Insider, this function is intended to prompt non-members to join a WordPress site. This code will be created in a way which the administrator can copy/paste the snippet into function.php, customize the graphic/URLs, and style via CSS. For this usage, we'll hide/show content with S2member pro. But any m…
/* = Stuff added for the login/logout
-------------------------------------------------------------- */
.well-join {
display: block;
background-image: url(http://uywi.org/wp-content/uploads/2013/03/theWell_JoinBoxR02.jpg);
background-repeat:no-repeat;
height:300px;
width:760px;
text-indent:-9999px;
padding-top:.7em;