Tutorials & Guides, Freelance WordPress Developer | Page 24

How to use Relevanssi? A Better WordPress Search Mechanism

Better search results with Relevanssi. If you've ever tried using the built-in search functionality of WordPress to search for content on your site, I assume you've noticed that it's an area where the popular content management system WordPress falls short.

Optimize Google Fonts Loading Speed Using preconnect

The preconnect option is an important tool in your toolbox, not only for loading Google Fonts. As shown in the example above, using preconnect saves roundtrip time, especially in the critical upper part of your site or application. In certain [...]

How to Exclude IP Addresses from Google Analytics 4?

Your own visits, employee clicks, and other internal traffic can skew Google Analytics data. Excluding those IP addresses takes a few minutes and makes your reports far more accurate. This guide covers Google Analytics 4 (GA4) only. Universal Analytics was [...]

CSS Flexbox Gap Explained with Examples

In this post, we'll see how to add spacing between flex items using the CSS property called gap, which is the shorthand for the properties row-gap & column-gap.

How to Define New Image Sizes in WordPress

In this brief guide, I will explain about image sizes in WordPress and their usage in the admin interface and code level. We will also see how to create new image sizes and how to prevent generating unnecessary images based [...]

Prevent Spam from Contact Form 7 forms using Akismet

Spam is a challenge every website owner faces. The moment you add a form that collects information from users, you’re almost guaranteed to receive spam, sometimes a little, sometimes a lot. Even simple forms with no real value to spammers [...]

Adding CSS Scroll Animations using AOS

You’ve probably encountered websites with various animations happening as you scroll down (On Scroll Animations). I’ll share with you a library called AOS (Animate On Scroll), which allows you to easily add these animations with full CSS control over them. [...]

The Importance of Trailing Slash in URL Addresses

Several times i've encountered the question "Why do some links have a trailing slash at the end of the URL, while others don't?" If the answer you're seeking is something like: "It doesn't matter, both work," you might consider reversing [...]

On Redirects and Regular Expressions (regex) in WordPress

The understanding of how to implement redirects using Regular Expressions can be frustrating, even for experienced developers. Regular Expressions are essentially their own language, and they vary slightly between contexts. For example, you can use them in PHP, but they [...]