Modifying WP Query for Advance Search in WordPress

Many times you need to provide a search input for your site that will search through custom fields, comments, categories and many more. However the default WordPress Search searches only through the post and pages content and title. This post shall show how to define your own custom search query.

Adding custom columns and removing the default ones from WordPress Posts and Pages table

WordPress tables shown in Pages and Posts contain some unwanted columns like the comments column. This post shows how to remove unwanted columns and add your own.