Filtering Posts with Custom Fields Using meta_query

Filter Using Meta Query

You can further refine a list of posts by filtering any custom fields that the post has for a certain set of conditions, this is possible with WP_Meta_Query, which allows you to target custom fields as known as post meta. There…

Optimise wp_postmeta table and remove custom fields meta keys

remove-custom-fields-wordpress-database

Overtime a wp_postmeta WordPress database table may become bloated and use redundant custom field meta_keys. The table may have thousands of rows worth of dead data such as old custom fields.You can remove these keys quite quickly in the MySQL database…