group post by month in wordpress and load more button to load previous month post

i am creating a timeline which shows a monthly posts like eg:

Feb 2017

post 1

post 2

post 3

post 4

then load more button to load previous month post..

eg:

jan 2017

post 1

post 2

how to do that please help i tried lots of examples but nothing works for me…

Read more here:: group post by month in wordpress and load more button to load previous month post

Leave a Reply

Your email address will not be published. Required fields are marked *