"Just another Web Dev blog"

Laravel – Specified key was too long Error

24th January 2018

With Laravel 5.4, some users may be hit with the Laravel Specified key was too long Error when migrating the database. This is because in the latest Laravel update, the developers made changes to the default database charset, making it utf8mb4. If your using MySQL 5.7.7 or higher, you won’t encounter this issue, however older versions of MySQL […]

Posted by Dillon

Create a custom WordPress taxonomy for posts and pages

18th January 2018

Sometimes when building website using WordPress, the standard taxonomies Categories and Tags just aren’t enough, and you need to create more. WordPress has made creating your own taxonomy easy, and you can even add your custom taxonomies to pages too. To accomplish this we use the custom WordPress taxonomy function register_taxonomy(). Creating a custom WordPress […]

Posted by Dillon