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.

Gravity Forms Ready Classes»

Add classes to GF form fields; these are the most commonly used, but look at the others also.
CSS, Forms | Type: CSS

Hide Usernames from Hackers»

When hackers discover your username, they have half the equation for logging in.
Security, Users | Type: PHP

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, using WordPress native CSS. <h2 class="dashicons-before dashicons-smiley">A Cheerful Headline</h2> <h2><span class="dashicons dashicons-smiley"></span> A Cheerful Headline</h2> Both would appear like this: A Cheerful Headline…
WP/CP | Type: PHP

Menu
We use cookies in order to give you the best possible experience on our website. By continuing to use this site, you agree to our use of cookies.
Accept
Cookies Notice