How to set up a most popular widget
In most of our themes, we do include a widget for most popular posts. These are calculated from views, shares and likes and the post with the most (sum) gets to most popular widget. In order to add this widget you need to navigate to Appearance->Widgets and then add the Most popular widget into a sidebar (widget area) that you want. You can find some information on how to actually add these in this article.
The next step is to configure the actual widget, so you need to make sure you select the number of posts, layout you want to use for the widget.
It is important to select the post type you want to show, which should be the last option available – Select post type.
Once the post type is selected a Select post taxonomy: option will be shown, you should make sure you choose the taxonomy you want to show posts by. After choosing the taxonomy you want to show the posts by you can easily select the actual terms. So, let’s say for example you want to show posts from some categories – you just select Post -> Category -> Choose the actual categories you want to show from. Remember that that is a multi-select so you might select multiple values.