Adding pagination to a custom archive template

Since 4.1.0, WordPress introduce the_posts_pagination to handle number paginate link. I use it all the time, and it just works. With any custom post type. You’ll want to use that function after the while loop.

See: https://developer.wordpress.org/reference/functions/the_posts_pagination/

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)