search ]

Tutorials & Guides, Freelance WordPress Developer | Page 9

Check if a Product Belongs to a Specific Category or Tag

If you have tried using the in_category() function to check if a specific product belongs to a certain product category, you probably did not succeed. In this guide, we will see why… This is a common mistake indeed. So let’s [...]

Adding New Custom Fields to WooCommerce Products

WooCommerce is undoubtedly the most powerful E-Commerce plugin for WordPress. One of its main advantages is that it provides an API that allows you to do almost anything you want with your digital store. In this post, we will explain [...]

Properly Retrieve WooCommerce Products in Your Template

The functions wc_get_products and WC_Product_Query provide the standard and correct way to retrieve products when working with WooCommerce. This is the right way because it won’t break due to future changes in the database following new versions of WooCommerce. Using [...]

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 Change the WordPress admin URL (Login URL)

One of the most popular ways to breach WordPress sites is a Brute Force Attack. In this type of attack, hackers try many combinations of usernames and passwords in order to enter the WordPress admin interface. Especially when everyone knows [...]

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 [...]

Understanding CSS clip-path: How to Create Unique Shapes

clip-path is a very interesting CSS property that allows you to “clip” a certain part of elements such as SVG, images, and HTML. The property creates a shape that determines which part of the element will be visible. The part [...]

Creating a Responsive Table with CSS

I am sure you will find many methods and sources showing how to create a responsive table, some are good and some less so. Among these methods, you will find sophisticated tables built using CSS Grid, and even very simple [...]

Exploring the CSS ::marker Pseudo-Element

The ::marker pseudo-element is a feature in CSS that enables you to style the markers of list items. Whether you want to customize the appearance of bullets in an unordered list or the numbering in an ordered list, ::marker gives [...]

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 [...]

Savvy WordPress Development