public function search($keyword, $postsPerPage = false, $paginate = true)
    {
        $page = get_query_var('paged') ? get_query_var('paged') : 1;

        $args = [
            'post_type' => $this->slug,
            'paged'     => $page,
            's'         => $keyword
        ];

        if($postsPerPage != false)
        {
            $args['posts_per_page'] = $postsPerPage;
        }

        $query = new WP_Query($args);

        return $this->trim($query);
    }