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.

Vertical Align»

Vertical align anything with just 3 lines of CSS, do not need to know height of object or container.
CSS3 | Type: CSS

Visually hidden, still available for screen readers»

This is useful for hiding labels while relying on placeholder text for sighted visitors. The alternative (display:none;) hides items from screen readers. clip-path: inset(100%); clip: rect(1px 1px 1px 1px); /*…
CSS | Type: CSS

WordPress Template Tags»

Sometimes you need to turn a WP template tag into a PHP variable, so you can construct a proper bit of code.
PHP, WP/CP | Type: PHP

WP eCommerce Tricks»

Check SOC Racing for WP eCommerce implementation.
eCommerce | Type: Other

WP Mail SMTP plugin settings»

The following settings use Gmail as an example, but they apply for webhost SMTP server as well. From Email: your full Gmail address From Name: name displayed in the emails…
Gmail MX | Type: Other