Have you ever made changes to a website and the client told you he or she can’t see the updated version? I bet you have. The best cache busting is to append a random string to the filename. assets/main_d808a276.css Most starter themes comes with this by default, and it’s awesome! But if you’re working on … Continued
Some of my clients really don’t want to put their email addresses in clear text out in the public. After all, the internet is not very forgiving. For me and my private projects, I’ve never taken this into consideration and I’ve never had any issues with bots finding and spamming me. But it sure exists, … Continued
A lot of times you need a simple permalink to distribute to your users for various external campaigns and such. You could do a redirect from https://robin.se/black-friday using the Redirection plugin. But this won’t trigger your Google Analytics or Facebook Pixel scripts. So you won’t be able to track the users and/or run remarketing ads. … Continued
The WP_Query class is very powerful and can be used in many ways. Here is a quick tip to enhance the performance. Read the inline comments! $args = [ ‘posts_per_page’ => 500, // Don’t use -1. Instead, set a high number if you need to get a lot of posts. ‘cache_results’ => false, // Just … Continued
The biggest bloat on the web is, you guessed it – images! A website’s consists of more than 60% images and it’s a big problem. Our users demand faster and faster websites and lowering the image size one easy, fast and cheap way to please them. Although this is absolutely a good way lower the … Continued
Gravity Forms is without doubt one of the best form plugins out there. I chose this to be my go-to form creator for a few reasons. The pricing is very clear, unlimited installs, you get access to loads of Add Ons and everything is well documented. It’s is incredibly powerful with it’s drag and drop interface, … Continued
When doing SEO work on your website, the permalink plays a big part. Permalinks are permanent links to a post or page which does not change over time. A well structured permalink is super important to attract visitors and search engine robots to your website. They should be easy to read and to understand what … Continued
What the heck is SVG images? Have you ever zoomed in on a website and the text is still super sharp? That is a type of vector.
It pretty much means that you can scale the image as much as you want without losing quality.
Why download images and other heavy resources to your local computer, when you have them available to the public? This does not only save space on your local hard drive. It saves a lot of time syncing resources from production to your local environment. This snippet first checks if the resource is present in your … Continued
The viewport meta tag exists so that the mobile browser can render your page correctly. This tag was introduced by Apple for the iPhone and tells the browser to use the width of the device’ screen as the full width of the page. It basically tells the device how to render the layout. If you’d … Continued