search ]

Posts about: WordPress Development | Page 4

Dynamic Recipient Email Address Based on Dropdown Menu

As a WordPress developer working with large companies, I have encountered several times the need to dynamically change the email address to which the form is sent. For example, a situation where a company wants a dropdown on the Contact [...]

The Hierarchy of Page Templates in WordPress

If you are a WordPress developer or using a child theme to modify your parent theme, it is reasonable to assume that you will reach a point where you will need to understand the hierarchy of WordPress themes. This hierarchy [...]

Show the Total Number of Comments in WordPress Templates

In WordPress, there is a built-in function called wp_count_comments that allows you to get the total number of comments for a specific post based on its ID. The function returns the total number of pending comments, approved comments, spam comments, [...]

Few ways to disable Gutenberg on WordPress

Gutenberg is about to be added soon to the WordPress core. These are good news for some people and less good news for others. It can be estimated that at the current stage, the vast majority of websites are not [...]

How to Register ACF Fields Using PHP in WordPress

Registering ACF fields using PHP reduces the number of database reads and enables the use of Version Control like GIT and similar. The option to define fields via code decreases the chance of losing information that exists in a normal [...]

Show Posts from another Blog using REST API

As you probably already heard, REST API provides you with the ability to interact with your WordPress site externally, for example, from a mobile application or another website. Let’s look at a short code example that describes how you can [...]

You Better use WP_DEBUG_LOG in WordPress Development

In this short post, we’ll see what the correct way is to monitor PHP errors on WordPress sites using WP_DEBUG_LOG. Like most things related to WordPress development, it can be said that the best way to understand a specific function [...]

How to Prevent PHP Error Display in WordPress

PHP comments and messages are helpful for WordPress developers to “debug” issues in the code they or others have written. Of course, it wouldn’t be professional if these were displayed for site visitors, so in this short post, we’ll see [...]

How to Easily Disable RSS Feeds on WordPress Sites

WordPress is known to people as a robust and reliable blogging system. People use RSS Feeds to subscribe to new content you publish through third-party applications like Feedly, for example. However, not everyone uses WordPress for a blog, and there [...]

Mastering WooCommerce Hooks: A Complete Guide

Before we start explaining how to use WooCommerce hooks, let’s say a few words about hooks. Hooks in WordPress allow you to add or modify code without editing the source files. Hence, they are very useful and enable developers to [...]

Savvy WordPress Development