Display Number of Sales Per Product in WooCommerce

Display Number of Sales Per Product in WooCommerce

This code enables you to display the number of sales per product on the single product page and shop page archives. Here’s the code for the single product page which uses a single product page hook : add_action( ‘woocommerce_single_product_summary’, ‘single_product_sales_count’, 15 ); function single_product_sales_count() { global $product; if ( $product && $product->get_total_sales() > 0 )…

The Complete Guide to Removing Elementor Upsells

The Complete Guide to Removing Elementor Upsells

Elementor is a powerful tool for building WordPress websites, but its dashboard can sometimes feel cluttered with upsell ads and prompts for premium features. In this guide, I’ll show you how to remove most Elementor upsells, allowing you to enjoy a cleaner, more focused interface. You can follow along the guide and add the code…

The 8 Best WordPress File Upload Plugins for Simple User Submissions

The 8 Best WordPress File Upload Plugins for Simple User Submissions

Disclosure: This post may contain affiliate links. Purchasing a product through one of these links generates a commission for us at no additional expense to you. WordPress doesn’t provide a way for your site’s users to upload files or submit new content. If you have a client, site authors, or other users who need to…

Automattic Cuts Weekly Contributor Hours to WordPress.org by 99%

Automattic Cuts Weekly Contributor Hours to WordPress.org by 99%

To understand immediately why this is going to have a number of implications across WordPress, it’s because Automattic was the single largest contributor to open-source WordPress. By far. I mean really, really far. For historical context, the second place contributor’s hours have ranged from about 100 to 400, with 200-ish being the most common amount….

When Do Amex Platinum Statement Credits Reset?

When Do Amex Platinum Statement Credits Reset?

The American Express Platinum Card offers generous statement credits that can significantly enhance its value. These credits, whether for travel, dining, or lifestyle benefits, are tied to specific reset schedules that determine when you can use them. Knowing when your Amex Platinum statement credits reset is crucial for maximizing these benefits and avoiding missed opportunities….

How to Optimize Your Robots.txt File for Better WordPress SEO

How to Optimize Your Robots.txt File for Better WordPress SEO

Whether you’re struggling to get your content ranked in Google or simply looking for an easy win in your WordPress SEO efforts, learning how to optimize your robots.txt file could be the solution.  This basic yet all-important file can make a big difference to the way search engine crawlers prioritize and index pages from your…

Improving Fediverse Engagement With the Reactions Block

Improving Fediverse Engagement With the Reactions Block

We believe in the open web and interoperability between online publishing platforms. That’s why we’re excited about the Fediverse and are committed to shipping features that improve the way your site connects to the open web. Today, we’re introducing Likes, Reposts, and the Fediverse Reactions block, building on our commitment to decentralized publishing. Introducing the…

How to Add an Author Box in GeneratePress Theme without Plugin

How to Add an Author Box in GeneratePress Theme without Plugin

How to Add an Author Box in GeneratePress Theme: An author box gives the information about the person who written the article. In GeneratePress theme, you can add Author Box without any plugin by just copy and pasting ou custom Php code and CSS code via GeneratePress Block Elements. In this article, you will learn…