- Topics: 0
- Replies: 304
Currently the plugin only searches post types such as posts, pages etc.
The plugin doesn’t search for tags and comments but will implement this functionality in the future version of plugin.
In the meanwhile to achieve this you have to develop custom code by modifying the below hook and search_filter function declared in the plugin file /add-search-to-menu/public/class-astm-public.php on line number 139.
add_action( 'pre_get_posts', array( $public, 'search_filter' ) );