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.

CSS Cursor Showcase»

View, experience and choose a cursor for your application.
CSS | Type: CSS

CSS-only Mobile Menu»

Mobile menu that doesn't use javascript. Uses hidden checkbox to toggle state.
CSS, Responsive | Type: CSS

CSS3 Multiple Columns»

Unfortunately, this is buggy with uneven column lengths. There may be some javascript that does this better.
CSS3 | Type: CSS

Custom TinyMCE Styles»

Consider replacing current approach with this plugin (still need to remove h1, blockquote, etc from formats)
Custom Admin, TinyMCE, Users | Type: PHP

Disable WordPress Default Image Link»

Disable annoying default image link in theme functions file. You can still make a link, but it won't be the default.
Custom Admin, Users | Type: PHP

Disallow File Edit»

Disable theme and plugin editor in admin.
Custom Admin, Users, wp-config | Type: PHP

Disallow Indexing of PDFs in Media»

Important if PDFs are only available behind login or downloadable after transaction.
¡Important!, eCommerce, WordPress | Type: Other