how can i make the query more proffesional
so basically i am tying to get all posts with a particular type of post but same route also serve as the route for search so this complicated things
i want to be able to all the post with the particular post type provided and still use same route to filter the post
i want to be able to all the post with the particular post type provided and still use same route to filter the post

