|

Stop Focusing on WordPress Searches and Serve Your Customers

Over the last few months, we’ve seen several outlets report on the seemingly alarming decrease in search terms year-over-year in the WordPress space. But does it matter that the specific search terms are decreasing (sometimes marginally) even as WordPress and WooCommerce usage reach new heights. While well-meaning, I don’t think these reports solve the problem they think they’re solving.

|

Add Attachments to WordPress Search Results

I feel like this has to have been done a lot, and there are great plugins out there for it, but if you’re just looking to add a quick function to your theme (or a really simple plugin) yourself, here’s how to modify WordPress’ search query to include attachments (like images). function attachment_search( $query ) { if ( $query->is_search ) {…