Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 504799

How would I track likes by the month?

$
0
0

Replies: 0

Greetings, I would like to be able to track and show the most liked uploaded content for the month. I am using MediaPress for adding upload capabilities to my BuddyPress site. Really I need the previous month.
I would like to offer a contest/reword for the user who gets the most likes for the month on my site. I see in the FAQs the below code for listing the most liked post.

‘published’,
‘post_type’ =>’post’,
‘orderby’ => ‘meta_value_num’,
‘meta_key’ => ‘_liked’,
‘paged’ => (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1
));
?>

I am no programmer so I wouldn’t know how to sort this info for a given time period. I am looking through the codex now and seeing if I can possible connect what’s going on to achieve this. I’m not sure what (‘post_type’) uploaded content is via MediaPress. Can anybody help me with what I need to do to achieve this?

  • This topic was modified 13 minutes ago by Reppiks.

Viewing all articles
Browse latest Browse all 504799

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>