GD_Dash Shortcode to Share Totals with Site Visitors
The new Dashboard sounds great! Here are some of the stats I have seen mentioned as desireable.
About the counts:
Listings – Count Total (by CPT, all)
Listing – Category Total (CPT+CatID)
Listings – Period (day, week, month)
Users – Total
Users – Period (day, week, month)
Pageviews – Count Total (CPT, all)
Pageviews – Period (day, week, month)
Claimed – Count Total (CPT, ALL)
Claimed Category – Count Total (CPT+CatID)
Reviews – Count Total (CPT, ALL)
Review – Period (day, week, month)
Revenue – Count Total
Revenue – Period (day, week, month, year)
About using the stats, a “gd_dash” shortcode that would show each of those numbers individually would be great when used with ‘GD Features”. I could simply output a number and leave the styling to the site owner.
The shortcode could be used multiple times with features to show an icon and some text around the number. An example of what a site owner might put on their homepage:
[Restauarants ICON]
<h3>Restaurants</h3>
<p>[gd_dash total_cat_by_id="99"] restaurant listings</p>