number

a minute read
Many bloggers use Feedburner to display the number of their subscribers. If you want to be able to show the average number of them over the past 7 days, here is the code that is useful for this purpose. As usual, first of all you need to insert this function into the functions.php file of your theme: 1 function get_average_readers($feed_id,$interval = 7){ 2     $today = date('Y-m-d', strtotime("now")); 3     $ago = date('Y-m-d', strtotime("-&#...