search ]

Posts about: WordPress Development | Page 5

How to Display Recent Comments in WordPress (No Plugin)

WordPress includes a powerful comments system that allows visitors to engage with you and other readers. Comments are essential for building a community, encouraging discussions, and creating interaction between you and your audience. Even if you’re not a fan of [...]

Stop Video Outside the Viewport on WordPress Sites

In one of the projects I worked on, a considerable number of videos (video) were required on specific pages. Some of those videos needed to span the entire width of the screen, while others, smaller ones, were placed in a [...]

Preload Critical Assets to Improve Performance

There are many ways to improve a website performance. One of the ways is to preload specific files that you know will be required later and are essential for the quick rendering of the page. The preload value of the [...]

How to Create a Slider in WordPress with the Vegas Slideshow

Considering that sliders and slider plugins (usually bundled with purchased themes) are quite slow and cumbersome to use, it’s often preferable in many cases to build your own slider to avoid headaches for both you and your clients. Of course, [...]

How to Display a Message for Recently Updated Posts

Whether you’ve noticed it or not, recently on the Savvy blog, a message pops up for a few seconds if you land on any post that has been updated in the last 45 days. Due to frequent updates, I thought [...]

Using Advanced Custom Fields without Frontend Dependency

The plugin Advanced Custom Fields provides a simple and visual interface for creating metaboxes. The result is very intuitive and easy for the client to edit. The ACF plugin includes several functions that allow you to use your own template [...]

Load Google Analytics Locally from your Own Server

When you optimize the number of server requests (HTTP Requests), you will likely encounter the Google Analytics script at some stage. This script makes an asynchronous request to download the analytics.js file from Google’s servers. This post is not relevant [...]

Optimizing Database Queries in ACF for Better Performance

Sometimes the functions get_field and the_field of the Advanced Custom Fields plugin are sufficient for pages with a few custom fields. However, for pages with many fields or very complex fields (such as those in Repeater or Flexible Fields), we [...]

Creating a Mailing List with Mailchimp for WordPress Plugin

Since I use Relevanssi (feel free to search the blog for the word), I have the option to conveniently view which searches were made on the sub-blog. It seems that many people are searching for the phrase “distribution list” and [...]

How to Build an Exit Intent Popup in WordPress (No Plugins)

Exit intent popups gained popularity in recent years, especially on WordPress, E-commerce websites and digital stores in particular. In essence, an exit intent popup uses JavaScript to track the user’s mouse movements, so that when the user shows an intention [...]

Passing Variables using get_template_part in WordPress

Similar to the standard include() or require() PHP functions, WordPress provides its own function for loading templates (PHP files), called get_template_part(). As its name suggests, it is designed to call parts of templates in WordPress sites. While using the get_template_part() [...]

Optimize WordPress Configuration with wp-config.php

WordPress users are familiar with the wp-config.php file as the one used to set up the database information, such as the database name, the username, password, and its location (as well as table prefixes, security keys, and language). However, many [...]

Savvy WordPress Development