Skip to content

Instantly share code, notes, and snippets.

View kangabell's full-sized avatar

Kay Belardinelli kangabell

View GitHub Profile
@kangabell
kangabell / _about-page.php
Created September 16, 2016 21:31
About Page Template for launchsource.com
<?php
/*
Template Name: Our Team
*/
$background = wp_get_attachment_image_src( get_post_thumbnail_id( $page->ID ), 'full' );
?>
<?php get_header(); ?>
@kangabell
kangabell / _front-page.php
Last active September 16, 2016 20:26
Custom Homepage for aeturnum.com
<?php
/*
Template Name: Homepage
Requirements: Advanced Custom Fields plugin
*/
?>
<?php get_header(); ?>
@kangabell
kangabell / rise.js
Last active September 21, 2016 22:53
Mixins & Functions: Element Rises and Fades In – used on aeturnum.com
/*** Add or remove .rise class to an element ***/
/*
EXAMPLES
setTimeout( rise('.hero'), 1000);
function openNav() { rise('.modal'); }
function closeNav() { unRise('.modal'); }
*/
function rise(s) {
$(s).addClass('risen');
@kangabell
kangabell / SassMeister-input.scss
Created May 11, 2016 15:48
Precise control over responsive typography for Sass
// ----
// libsass (v3.3.2)
// ----
// =========================================================================
//
// PRECISE CONTROL OVER RESPONSIVE TYPOGRAPHY FOR SASS
// ---------------------------------------------------
// Indrek Paas @indrekpaas
//