Right, before I get started: This is an article aimed at a more advanced developer or perhaps even a sysadmin.…
Kategori: Wordpress
Tidigare inlägg
Papi, First Impressions
A little background We have been using Advanced Custom Fields (ACF) for adding custom meta to posts, option pages etc.…
Unit Testing in WordPress: how to use the factory object in the setUp method
I’ve been writing more unit tests of late and have been running into some interesting issues when working with WordPress plugins.…
How to use the oEmbed API in WordPress
Recently I needed to get oEmbed data for a video via an AJAX call for a lazy-load type of thing.…
Making changes to Nginx configuration in Varying Vagrant Vagrants without running a full provision
I’ve often wondered as to why changes to my Nginx configuration via vvv-nginx.conf (in my site root) won’t take effect even after starting Nginx…
The Hipster Stack: WordPress on Nginx, HHVM, MariaDB over SSL
Nginx + PHP-FPM is a great web server for WordPress (or probably anything PHP for that matter). It’s especially great if you…
Another useful WordPress function, remove_accents
In the long list of useful functions that WordPress provides for your development pleasure, remove_accents is a handy function that…
3 little gems: home_url(), admin_url() and plugins_url()
There are some really useful functions for URLs in WordPress, in particular home_url(), admin_url() and plugins_url(). home_url() home_url() takes two…