Automatically Link WordPress Slugs to Custom Page Templates

Konstantin Kovshenin has come up with a neat way to link slugs to Custom Page Templates without manually assigning a template to a page. He’s calling the plugin Static-Templates. Static-Templates comes in handy when you have a highly customized WordPress site. Ordinarily each Custom Page that needs a slightly different layout needs to be assigned […]

How to install WP-CLI with Composer without sudo

There are a number of ways to install WP-CLI. However you might run into problems if you want to avoid using sudo. The default installation symlinks the wp command line interface into /usr/local/bin which requires sudo. Since Composer already allows us to manage PHP libraries easily, it makes sense to reuse it with wp-cli as […]