Changing your WordPress site language (locale) dynamically

There are some fantastic multilingual plugins for WordPress, and WPML is one of my favourites. However for one client project I needed something far more flexible, as this particular client needed to cater for several countries that each spoke several languages. In short the client needed to be able to have a multisite instance that …

Enforce Version Control in WordPress to Boost Security

If you have spent a long time working on your clients website, ensuring everything is in version control (such as git). Then you would be pretty gutted if your client edits a theme file, or adds a new plugin that lives outside of your version controlled workflow. Adding code that lives outside of a tightly controlled workflow means: …

Stop Clickjacking by preventing your WordPress site loading in a Frame

Clickjacking is a potential security risk caused by someone loading your website in a frame on their domain, and hijacking interactions you make with that site. For example if your website requires a user to login, it could log the username and passwords of users targeted by the clickjacking attack. Fortunately preventing clickjacking in WordPress …

Custom conditional statements around your WordPress enqueued stylesheets

You may be aware that you can add conditional statements around your WordPress enqueued CSS styles (such as <!–[if gt IE 7]><link …/><![endif]–>) to load the script for certain versions of Internet Explorer. As handy as this is, it doesn’t cater for all situations. This tutorial will show you how you can expand WordPress to add any type …

Prevent users from sharing login credentials in WordPress

As any Information Governance expert will tell you, sharing usernames and passwords is bad! Fortunately we can boost your WordPress security with this tip. Although nothing is as good as educating your users as to why they shouldn’t be sharing their usernames and passwords, in WordPress we can certainly make it difficult for them to do …

How to add items to robots.txt with WordPress

One thing that I love about my job is that most days I learn something new. Today I learned that WordPress auto-generates its own robots.txt file, and that there is a filter that you can hook into to allow you to add your own rules to the file. Working with one of our partners (we often provide business-to-business support …

The Bike-Shed Effect

Bikeshedding: Placing too much importance on trivial things.Today I found a blog post from a former Local Government colleague of mine, Chantele Smith, all about “bikeshedding”, or the Parkinson’s Law of Triviality to give it its official name. Bikeshedding is a term to explain the phenomenon of focus being placed on a trivial part of an overall solution, while …

Contributing to WordPress Core for Absolute Beginners

At my company Make Do we only develop websites and applications with WordPress. However I have never made a submission to WordPress Core, that is, until today. This blog post details my first experience of contributing to WordPress Core, and hopefully it will provide a little help for any other budding contributors. Don’t get me wrong, at Make …

Customer Development: Getting Honest Feedback About Your Products and Services

A couple of weeks ago I learned all about Customer Development, by attending another fantastic Founders Network event. Once again, superbly put together by Tech North. The event was delivered by co-founders of Lyst; Rob Fitzpatrick and Devin Hunt, and Rob kindly gave us a signed copy of his wonderful book ‘The Mom Test‘, which gives some wonderful insight into assessing what …