most_viewed shortcode by itself defaults to "today"
I have searched everywhere for any reference to most_viewedValue by week, month and all time
Its not in the shortcode reference, feature gallery does not demo this, no forum posts discuss this.
the only reference is in Output.class.php
const MOST_VIEWED_VALUE = 'most_viewedValue';
Anyone invoked most_viewed by Week, Month or All-Time and if so.... how?
does most_viewedValue exist?
Started by
Gregory Fein
, Sep 18 2011 10:45 PM
2 replies to this topic
#1
Posted 18 September 2011 - 10:45 PM
#2
Posted 23 September 2011 - 09:09 PM
Hi,
I'm sorry that this particular shortcode attribute is poorly documented. You should be able to supply a timeframe as a value. e.g. to show the most viewed videos for this month
I'm sorry that this particular shortcode attribute is poorly documented. You should be able to supply a timeframe as a value. e.g. to show the most viewed videos for this month
[tubepress mode="most_viewed" most_viewedValue="this_month"]Where instead of "month" you could also use "today", "this_week", or "all_time". I'll work on documenting this feature better. Please let me know how this works for you. Thanks!
#3
Posted 23 September 2011 - 09:40 PM
Rockstar!
Works great....
Just wish the quirky view_count order would settle down but I know that is on your radar.
Thank you sooo much.
Works great....
Just wish the quirky view_count order would settle down but I know that is on your radar.
Thank you sooo much.