How to build lists?
The popular, hot and trending lists are based on post views or votes. They differ in time range:
- popular list shows posts of all time. You can treat them as so called "Hall of Fame" collection
- hot list is for posts from last month
- trending list is for posts from last day
Requirements
Here are some requirements you need to meet to collect data for these lists:
Lists based on views
-
the Wordpress Popular Posts plugin must be activated.
WordPress doesn't count views for posts by default so we need to use 3rd party plugin for that. -
at least one post needs to be visited so its views counter can be initialized.
Just click through few posts on your site to populate their views.
Lists based on votes
- the Snax plugin must be activated and its Votes module enabled.
-
at least one post needs to be voted so its votes counter can be initialized.
Just pick a post and vote on it.
Lists automatic regeneration
Lists are updated once a day. If you want to change this interval, you can use your child theme. To rebuild list after each 12 hours, add the code below to your child theme functions.php:
add_filter( 'bimber_update_lists_interval', 'bimber_change_update_lists_interval' );
function bimber_change_update_lists_interval( $interval ) {
$interval = 60 * 60 * 12; // 12 hours = 60 sec * 60 min * 12 hours
return $interval;
}
How to update lists manually?
If you are in a development phase of your site, you will probably want to see results faster, before first calculation is done. To do that please follow these simple steps:
- Open the WordPress Admin › Appearance › Theme Options panel
- Go to the Tasks tab
- Click the Update button right next to the list you want to update