Add parameter 'current_page' when returning posts