When your website means business.


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.

Clear Clipboard»

There are glitches with Dreamweaver and possibly with OSX that prevent copying text occasionally. So far the only thing I’ve found that works is to clear the clipboard via Terminal…
clipboard, pasteboard | Type: Other


Maybe the most widely used clear after float.
CSS | Type: CSS

Compression – wp-config»

Enable compression in wp-config /* Compression */ define( 'COMPRESS_CSS', true ); define( 'COMPRESS_SCRIPTS', true ); define( 'ENFORCE_GZIP', true );
wp-config | Type: PHP

CPT to CPT Reverse Query»

Reverse query from different post types associated via ACF relationship field.
ACF, CPT, WP Query | Type: PHP