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, Responsive | Type: CSS
CSS3 | Type: CSS
Add other styles as necessary.
Custom Admin | Type: CSS
Consider replacing current approach with this plugin (still need to remove h1, blockquote, etc from formats)
Custom Admin, TinyMCE, Users | Type: PHP
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
In the functions file: add_filter('xmlrpc_enabled', '__return_false');
Security | Type: PHP
Disable theme and plugin editor in admin.
Custom Admin, Users, wp-config | Type: PHP
Important if PDFs are only available behind login or downloadable after transaction.
¡Important!, eCommerce, WP/CP | Type: Other
Handy snippet for displaying event dates when events can stretch over multiple days.
ACF, PHP | Type: PHP