WooCommerce pull request: Textarea description color consistency and desc_at_end

woocommerce pr textarea settings

I recently submitted a pull request to WooCommerce core, which adds some consistency to the descriptions of textarea fields in WooCommerce settings, and the ability to set an attribute to make the description appear before or after the textarea field. This contribution has been reviewed, merged, and is scheduled for release in WooCommerce v9.6.0. Text …

Read More

How to create a custom WordPress dashboard widget

example dashboard widget

Want to create your own dashboard widget that appears when you log in to the WordPress dashboard? You can do it in a few lines of code, once you have the widget setup, you can then concentrate on writing the functionality for the contents of the widget. What are dashboard widgets? Dashboard widgets are shown …

Read More

How to add text before/after product prices in WooCommerce programmatically

woocommerce before after price

In WooCommerce, product prices by default are displayed as “$5.00” for simple products and “$5.00 – $20.00” for variable products. Ever wanted to add text before or after the pricing display, like this: “Only $5.00” or “$5.00 limited time only”? There are a number of plugins that can help do this, but maybe you want to do …

Read More

How to amend the big image size threshold in WordPress

media library upload

If you’ve ever tried to upload an image in WordPress that has large dimensions, you may have noticed that the resulting file has smaller dimensions than the original image. This is because WordPress has a threshold for the maximum image dimensions, and if your image is higher than that threshold, it will get scaled. You …

Read More

How to quickly see options data stored in WordPress

wordpress options

In this blog post, I’ll share a quick and easy way to see option data in WordPress without needing to access the database via a database management tool. This is useful if you are developing functionality that stores data in options and you want to quickly review what the current stored value is. What are …

Read More

Guide to effortlessly adding sample products to your WooCommerce store

woocommerce sample products

If you’re in the process of creating a new WooCommerce store but don’t yet have products to add – perhaps you’re waiting on a list from your client – it can be challenging to envision the customer experience and make design adjustments. However, there’s a simple solution! You can easily add sample products to your …

Read More