Filter post by clickable year [duplicate]

You can achieve this by Using Simple Yearly Archive Plugin. It allows you to use different shortcode based on your requirements.

For custom post type you can use like: [SimpleYearlyArchive type=”yearly_past”]

Plugin link: https://wordpress.org/plugins/simple-yearly-archive/

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