Skip to content

Instantly share code, notes, and snippets.

View tiffyzsmile's full-sized avatar

Tiffany May tiffyzsmile

View GitHub Profile
How to add a widget area to your theme.
<div id="sidebar">
<ul>
<?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar()) : ?>
<li><!-- stuff shown here in case no widgets active --></li>
<?php endif; ?>
</ul>
</div>
@tiffyzsmile
tiffyzsmile / atomRead.xsl
Created June 16, 2011 21:25
XSLT for reading an Atom feed
<?xml version="1.0" encoding="utf-8"?>
<xsl:transform version="1.0"
xmlns:a="http://www.w3.org/2005/Atom"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>
<xsl:strip-space elements="*"/>
<xsl:output method="text"/>
<xsl:template match="*"/>
@tiffyzsmile
tiffyzsmile / 0_reuse_code.js
Created November 30, 2015 15:25
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
@tiffyzsmile
tiffyzsmile / holiday-banner-new.markdown
Created November 16, 2016 19:54
Holiday Banner - new
@tiffyzsmile
tiffyzsmile / code.mmd
Last active May 20, 2022 15:48
GitFlow Diagram
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"theme": "base",
"test": "hello world"
}