This code snippet adds a function in WooCommerce to display the number of units sold for a product. It adds a hook to two positions on the product page and uses CSS...
Category: Tips Wordpress
SMTP configuration without using plugins on WordPress websites.
WordPress is a popular CMS, but excessive use of plugins can lead to speed issues and crashes. To set up SMTP on WordPress, you can add a code snippet to the functions.php...
Disabling Gutenberg editor in article writing to maximize efficiency.
Currently, Gutenberg is rated well for layout editing, but some users find it difficult to use for writing content. It is suggested to keep Gutenberg for page editing, as it helps create...
What is Rank Math? Beginner’s guide to using Rank Math for newcomers
Rank Math is a highly rated SEO plugin for WordPress, offering features to optimize basic and advanced SEO issues. It focuses on on-page SEO and various SEO techniques. Founded in 2018, it...
Add filtering by Meta Fields feature in WordPress Dashboard.
The article discusses how to add a filter function by Meta Fields in the WordPress dashboard. It provides step-by-step instructions on adding Meta Field columns to the post list display section and...
Verify phone numbers using simple Javascript.
The content explains how to validate a phone number using JavaScript by checking it against the latest prefixes of phone networks in Vietnam. The JavaScript code uses Regex to match the phone...
Shrink title to 2 lines using CSS: Maximum of 15 words
The CSS snippet shared aims to shorten the lengthy and uneven product names typically found in Vietnam, making them more visually appealing on the web. By using the code provided, product titles...
Fixing jquery not defined error in WordPress
Many users have experienced an issue where their jQuery code does not run and displays an error stating "jquery is not defined." To remedy this, it is recommended to add the code...
Guide to creating additional purchase buttons linked to Lazada, Shopee, Tiki e-commerce platforms.
The content explains how to create purchase buttons linked to e-commerce platforms using both the ACF plugin and default custom fields of WooCommerce. It provides step-by-step instructions on creating fields, adding buttons,...
Guide for Uploading Plugin to WordPress.org
In this article, the process of uploading plugins to the WordPress Plugin Repository is explained. The preparation steps include making sure the plugin is complete, creating a readme.txt file, registering an account...