Hi. I'm Joe Tannorella - a full-stack developer and marketer from Cardiff, UK.

Recent Posts

  • WordPress AJAX tutorial – how to use AJAX in a WordPress theme or template

    Edit: the output of this tutorial can be seen with the ‘agree’ and ‘disagree’ buttons here: http://www.youthenme.com/sites/review/ I’m fairly experienced with using AJAX and its various jQuery shorthand implementations, but having never implemented AJAX into a WordPress theme I’ve had to do quite a bit of Googling. I’m writing this post to show how I’ve implemented AJAX into…

  • UIDB.io Priorities for June 2016

    10/06/2016 Note: I originally wrote this post for myself as a Google Doc with no intention of publishing it on my own blog. However, I’ve decided to put it on here so I can openly receive feedback and tell people my plans… A word of warning: not much effort has been put into editing this post…

  • WordPress Fatal error: Call to undefined function get_header() [fix]

    This problem seemed to come out of nowhere and was driving me crazy for at least 15 minutes. This is the error message I was getting (I have redacted and edited a few directories of this for privacy): Fatal error: Call to undefined function get_header() in /link/to/wordpress/install/public_html/wordpress_root/index.php on line 17 The problem was occuring on a pretty…

  • WordPress custom post type file not found 404

    This bothered me for way too long before actually discovering the solution. The solution is written there in plain English within the register_post_type array, yet I didn’t think to fiddle with it. The problem was regardless of permalinks settings, my single custom post type would always 404. It didn’t matter if I used the default…

  • How to seed a database in Laravel 5 (without the “[ReflectionException] Class ____ does not exist” error)

    Database seeding in Laravel is pretty awesome. It had me pondering recently what the best practice is for seeding a database with an admin user (or users). During my development I run into a slight issue. I felt like the Laravel docs didn’t fully explain the process, so I’m going to show you my solution…

  • Laravel 5 Entrust (Zizaco) error “Class ‘Role’ not found”

    I was having this problem for a good 30 mins until it finally hit me. Something glaringly obvious to any seasoned Laravel dev, or anyone with more than a few weeks experience in Laravel 5 for that matter, but a fairly easy thing to miss for a newbie to the L5 way of doing things. I was…