Sort categories by custom field in WordPress admin

For some reason the add_action( ‘pre_get_posts’, ‘category_custom_orderby’ ); hook isn’t working. Yes, and it’s because on the Categories admin page (where you can see the Categories list table), the list table uses WP_Term_Query and not WP_Query, hence the above hook (pre_get_posts) is not fired. So instead of the above add_action(), try using the parse_term_query hook … Read more

WebP issue on new 5.8 version

You can’t, there’s a filter to convert everything to jpeg on upload or everything to webp, but short of installing a 3rd party service to figure it out on the fly there is no fallback solution that serves webp to some and jpeg to others I thought wordpress would manage this but it does not. … Read more