Hi, I'm Amos Lee
A professional WordPress developer
This website is a summary of my daily development work, along with some code snippets. If you encounter any problems in WordPress development, you can come If you encounter any problems in WordPress development, you can come here to see if it can help you. You are also welcome to leave your comments in the articles.

Latest Posts
-
Getting Product Variants Programmatically in WooCommerce
This article describes how to get product variants programmatically in WooCommerce, including getting visible inventory variants using get_available_variants(), getting hidden variants through filters, and getting all variant IDs using get_children(). suitable for developers for further processing.
-
How to Display Variants as Individual Products in WooCommerce
This article describes how to display variant products as individual products in WooCommerce, instead of as an option for the main product. This can be easily achieved by using the `woocommerce_product_query` hook. The article also explores alternatives to using `pre_get_posts` and `woocommerce_shortcode_products_query` and provides code samples to help developers optimize the way products are displayed on store and archive pages.
-
How to create a media library folder without using a plugin
This article describes how to create a media library folder in WordPress without using a plugin, providing two methods: creating a custom database table or registering a taxonomy for attachments. The taxonomy method is recommended as it is easier and functional. Detailed steps include using the register_taxonomy() function and setting related parameters to help users easily manage media files.
-
How to Set Up WooCommerce Grouped Products to Maximize Your Sales
This article describes how to utilize WooCommerce's Grouped Products feature to increase sales. By displaying related or complementary products together, customers can more easily select and purchase multiple items. The article also provides a detailed tutorial on creating grouped products and five recommended plugins to help merchants quickly implement this feature.
-
PageSpeed insights Optimization recommendations - reduce unused CSS, shrink CSS
The article discusses common optimization recommendations when using PageSpeed Insights: reducing unused CSS and shrinking CSS. the main reason for this is that WordPress themes and plugins have a lot of CSS built-in, which leads to the loading of unnecessary code and impacts site speed. It is recommended to improve website performance by analyzing, streamlining CSS, using tools to automatically optimize and loading CSS on demand.
-
Improve WooCommerce Store Conversions Key Strategies for Optimizing the User Experience
The article explores key strategies for optimizing the WooCommerce store user experience to increase conversions, including streamlining the checkout process, enhancing the mobile experience, optimizing visual design and navigation, implementing personalized recommendations, improving site speed and performance, and leveraging customer feedback for improvement. These strategies are designed to provide a seamless, intuitive shopping experience that drives sales growth.