Custom Post Pagination not working

Custom post query

  1. post type download
  2. post content style content-item.php
  3. post pagination function st_posts_pagination

pagination function code