- Fix sync, now the pagination works fine.
- Now refresh via javascript, instead of php wp_rediect to prevent browser error "too many redirections"
- Changed sort tag php with full php tag