You can add the following code to your .htaccess file to prevent image hotlinking from your website. Simply replace the dobsondev.com with your own domain and everything should work. See the code below: As always thank you for reading and […] Read More »
Tag: DobsonDev
WordPress Transient Naming
Last week I went over how to use WordPress transients to cache data from an API call. I also talked about a problem where naming transients can be very difficult due to the size restriction of 40 characters. I also […] Read More »
WordPress Transients
WordPress isn’t known for being the fastest website solution on the market – but there are a lot of little tricks that you can do as a developer to make everything run faster. Last week I did an article on […] Read More »
WordPress .htaccess for Performance
WordPress isn’t known for being the fastest CMS out there – but there are a few easy tricks that you can do with your .htaccess file that can significantly increase performance. Recently I launched a WordPress site and web to […] Read More »
Scotch Box Laravel
“The PHP Framework For Web Artisans” is quite a bold statement to make, but Laravel might just accomplish it’s goal of being the best PHP framework out there. Laravel is extremely powerful when it comes to making online applications and […] Read More »
Scotch Box
One of my favorite web development blogs is Scotch.io. They provide a huge variety of articles and tutorials aimed at making you a better web developer. All their content is usually super up to date with modern trends and they […] Read More »
DobsonDev Shortcodes 1.1.1
For those of you who don’t already know – about a year ago I created my first WordPress plugin (that was put on the repository). DobsonDev Shortcodes is a plugin that contains a collection of useful shortcodes that I found […] Read More »
API Calls with cURL
Making API calls with cURL is actually a lot more simple than most people things. In this tutorial we will walk through an example of to make an API call to the GitHub API and get a repositories README file […] Read More »
WordPress Social Share Links
Social media links are a hugely important part of any blog. In this really short snippet I’ll show you how to add Social Share links to your WordPress blog. You can put the following code inside the loop in whatever […] Read More »
Adding Font Awesome to Your WordPress Theme
Font Awesome is an awesome tool that allows you to place scalable vector icons all throughout your website. Lots of WordPress plugins and themes use them, so it’s great to know how you can add it to your own custom […] Read More »