Tutorials & Guides, Freelance WordPress Developer | Page 16

About Featured Snippets in Google Search Results

When a user asks a specific question in search, Google may choose to display the result as a special block called a Featured Snippet at the top of the search results window. This Featured Snippet contains a summary of the [...]

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

wc_get_products() and WC_Product_Query are the correct way to retrieve products in WooCommerce. They are functionally equivalent to get_posts and WP_Query in WordPress core, and they accept an array of arguments to define your query criteria. Avoid using WP_Query or direct [...]

A Few Ways to Disable Gutenberg in WordPress

Since WordPress 5.0, the Gutenberg block editor has been the default content editor. While it offers powerful block-based editing, many developers and site owners prefer the classic editing experience for existing projects, client sites, or workflow compatibility. All the methods [...]

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

Responsive Table with HTML & CSS: 4 Methods

A responsive table is an HTML table that stays readable on a small screen. A plain table doesn’t. It either squeezes its columns until every word wraps onto its own line, or pushes the page wider than the screen. There [...]

Exploring the CSS ::marker Pseudo-Element

The ::marker pseudo-element in CSS lets you style the markers of list items – bullets, numbers, or anything you set via content. No extra HTML or JavaScript needed. I use it regularly when the default bullet doesn’t fit the design, [...]

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