MyThemeShopTeam / WP-Tab-Widget

WP Tab Widget is the AJAXified plugin which loads content by demand, and thus it makes the plugin incredibly lightweight.
7 stars 11 forks source link

How does your plugin list popular posts? #19

Open mushlih-almubarak opened 3 years ago

mushlih-almubarak commented 3 years ago

What query or order by does your plugin use on popular posts? In essence, how does your plugin list popular posts?

mushlih-almubarak commented 3 years ago

Any respond @surajv? this is very important

surajv commented 3 years ago

Hi @mushlih-almubarak, our plugin keep track of the number of views for each post, and we use that metric to show popular posts.

In the Pro version, you can select the timeframe for the popular posts or use the number of comments for the sorting criteria.

I hope that helps.

Thank you.

mushlih-almubarak commented 3 years ago

Thank you for your reply @surajv

and we use that metric to show popular posts.

To do this, of course, you have to use SQL queries, right? So my question is, what database table name does your plugin use to store "that metric"? or in other words store list of popular posts?