Open bum2 opened 10 years ago
I'm not personally familiar with Fundify, but I believe the total funded amount should be correct either way, since that's just a grand total of the amount raised, but the number of campaigns would definitely be skewed. I'll take a look at adding a function in to retrieve the correct count there.
How can we set the functions at the 'Get the Stats' section of a 'fundify' theme to correctly show the number of campaigns and the total funded amount? when the campaigns are translated and your nice plugin in place, the campaign numbers show good, but the total stats for the whole site still count translated campagins as independent, showing incorrect total numbers. Actually the funtions used are:
printf( '%s %s', wp_count_posts( 'download' )->publish, _n( edd_get_label_singular(), edd_get_label_plural(), wp_count_posts( 'download' )->publish ) );
and alsoprintf( __( '%s Funded', 'fundify' ), edd_currency_filter( edd_format_amount( edd_get_total_earnings() ) ) );