0

jQuery(".wp-pagenavi a").click(function(){
 jQuery(document).ajaxComplete(function(){
  jQuery('.blog_two_col article .published').each(function(){
  var post_date = jQuery(this).text();
  jQuery(this).attr('data-date', post_date);
  var days = daysdifference(post_date, currentDate);
  jQuery(this).html(days+' days ago');
 });
});
});

Jagdish Sarma Asked question May 7, 2021
Add a Comment