Tag Archive: Code

How To Search A Specific Custom Post Type (Only!) in WordPress

Tutorials

If you’re like me, you use custom post types a LOT when you’re doing projects (or on your own site, if I’ve done it for you!).  There’s a lot of value in having a type of content that’s unrestrained and flexible.  Sometimes, however, you want to be able to search a particular post type, and leave out all of the other results (pages, blog…

Continue Reading

Add a Product List to WooCommerce’s Order Columns

Tutorials

If you’re running WooCommerce, the Orders screen is a great way to see – at a glance – what’s going on in your store.  However, there’s one thing that it absolutely doesn’t show: the products that people have ordered. The code below changes that – it gives you a special column in your Orders screen called “Products” and shows a quantity and product name…

Continue Reading