Web Developer Notes - Page 3
How to Remove the jQuery Migrate Script from WordPress
Last updated: 26.10.2025
Views: 306
If your WordPress project uses jQuery, then by default, WordPress also loads the jQuery Migrate script along with it. In 99% of cases, you don’t actually need this script. jQuery Migrate restores support for outdated features that have already been removed from the main jQuery library.
You can determine whether jQuery Migrate is loaded by checking for a message in your browser’s console
...
WordPress Classic Widget (Plugin) Google Maps
Last updated: 28.03.2026
Views: 524
WS GMaps is a classic widget (plugin) Google Maps for WordPress CMS. The widget allows you to set multiple points on the map. In addition, there can be several widgets on one page. You can download the plugin for free. For the plugin to work, you need to specify the Maps JavaScript API key for Google Maps. You can generate an API key in the Google Cloud Platform (https://console.cloud.google.com/)...
Iterating Elements of Array without Loops
Last updated: 27.08.2025
Views: 355
The examples are very abstract because there are cycles. Our condition will be as follows. It is necessary to select all elements of the array by a given attribute. Or, to put it more precisely, it is necessary to filter the array. There are several solutions.
The most suitable option in PHP is to use the built-in function array_filter(). Let's imagine that it does not exist either. We write it...
Fixing Image URL in ACF (Advanced Custom Fields)
Last updated: 23.02.2026
Views: 395
The ACF (Advanced Custom Fields) plugin is a great and convenient tool for extending the functionality of Wordpress. ACF allows you to add custom fields to your project's admin panel. When using the image field, I usually use the URL to get the value.
And in the template, when outputting the image field value, the correct value does not always come. Sometimes, instead of the URL, an ID come...
How to Remove the “Website” Field from the WordPress Comment Form
Last updated: 26.10.2025
Views: 748
By default, WordPress includes a "Website" or "URL" field in its comment form. While this may be useful in some cases, it often attracts spammers who leave low-quality comments just to insert backlinks. If you're looking to reduce spam and keep your comments section clean, removing the URL field is a simple and effective step.
You can do this easily by adding a small PHP snippet to your theme’s...