pagination added for the search of posts by partial title