Modifying the WooCommerce Product Query

How to show different products in the shop loop

I recently answered a few questions on Stack Overflow and they all seemed to related to how to change what products show up in the shop loop… or any other of the shop archives. I figured I would compile them altogether for reference and inspiration. WooCommerce builds a custom query for products in its WC_Query […]

Posted in Snippets | Tagged , | Leave a comment

WooCommerce Customize Checkout Fields

Collect extra customer details at checkout

I was digging around in WooCommerce while trying to come up with a quote for a client. Part of the scope had me wondering if you could remove some fields from the checkout process. If you aren’t selling physical products a billing address can be too much information and could even be off-putting to potential […]

Posted in Snippets | Tagged , | 23 Responses

Custom styles for TinyMCE 4.0 in WordPress 3.9

Add style options to the rich text editor

The release of WordPress 3.9 saw the update of the included TinyMCE editor to version of 4.0 and this caused no small amount of havoc for people who’d been customizing the text editor. In the past, one was able to define one’s own custom styles and modify the block formats like so: function my_mce_buttons_2( $buttons […]

Posted in Snippets | Tagged , | 10 Responses