Custom WordPress Login Form

Despite some hunting around, I was unable to find the HTML code to add a simple WordPress login form. The PHP function doesn’t allow you to use placeholders in the input fields, which isn’t ideal.

Here’s a simple HTML form with placeholders that you can use to put a custom login form anywhere on your WordPress website. Be aware that if a user enters incorrect information they will be re-directed to wp-login.php.

How to Become a Freelancer in 14 Steps

Becoming a freelancer is a hugely popular alternative to full-time work, and chances are you have a marketable skill – even if you don’t think so! If the allure of working from home is making you curious about how people actually do it, then look no further! Here are 14 steps to becoming a freelancer that you should be able to follow regardless of your skills.

Continue reading How to Become a Freelancer in 14 Steps

Are freelance marketplaces killing the freelancer role?

It’s 2015, and it is said by many that there has never been a better time to do what you want. There has never been a better time to take advantage of the opportunities the world has to offer you. And in the world of 2015, technology is very popular. The humble programmer, once shunned and ostracised, is now in the limelight, outbidding the likes of Beyoncé and Jay-Z on Beverly Hills mansions.

So, how do you do it? How do you tell your boss to fuck themselves, run out the door, get an IKEA LINMON desk and a snobby coffee cup, and never set an alarm again?

Continue reading Are freelance marketplaces killing the freelancer role?

Get Channel’s Latest YouTube Video

I was recently working on a client’s website and wanted to automatically feature the latest video from their YouTube channel and embed it on a page. Fortunately YouTube provides RSS feeds for channels, and WordPress has the ability to parse RSS feeds by calling the fetch_rss function, so I wrote this little script to embed the latest video.

Just set the username of the channel you’d like to fetch videos from in the third line of code by replacing “CHANNEL-USERNAME”. You can also increase the amount of videos you’d like to display by increasing $maxitems.

(No, Stephen Fry isn’t the client!)