When your website means business.

Snippets

A collection of (mostly) WordPress-related snippets and references I’ve found useful and worth keeping where I can find them. Feel free to use what you like, and point me to some better snippets or references.

Horizontal Nav Pipe»

Add 'pipe' between horizontal nav items, except last item.
CSS | Type: PHP

HTML5 Toggle Search»

First, add HTML5 support to functions.php
CSS3, Search, WP/CP | Type: CSS

Incorporating Dashicons into Content and Templates»

Two approaches for adding dashicons in HTML. A Cheerful Headline <h2 class="dashicons-before dashicons-smiley">A Cheerful Headline</h2> Point That Way <h2>Point That Way<span class="dashicons dashicons-arrow-right"></span></h2> Obviously, CSS would need to be added…
WP/CP | Type: PHP

jQuery Better Show-Hide»

A show-hide that still works(?not tested lately); changes toggle content.
Javascript, jQuery | Type: Javascript

Linear Gradients»

Add gradients without the use of background images.
CSS3 | Type: CSS

Move Yoast Metabox to Bottom»

Yoast Metabox is huge, and it gets in the way of a lot of stuff. Move it to the bottom of the edit screen with this handy snippet.
WP/CP, Yoast | Type: PHP