Popular Posts – Page Template
POPULAR POSTS PAGE-TEMPLATE
NewsTube provides a page template called Popular Posts to configure special Front Page (or Home). This page template can list posts under various conditions such as Most Viewed or Most Liked
- Go to Pages > All Pages and edit “Home” page created in previous step
- Choose Popular Posts in Template. The corresponding metadata will appear in the boxes Popular Posts Content Settings & Page Settings in the left.
- Configure settings in Popular Posts Content Settings & Page Settings boxes
- Popular Posts Content Settings
Conditions Condition to query Popular Posts - Latest: posts are queried and ordered by Published Date Time (latest posts are on top)
- Most Viewed: posts are queried and ordered by number of Post Views (posts having highest views are on top)
- Most Liked: posts are queried and ordered by number of Post Likes (posts having highest likes are on top)
- Most Commented: posts are queried and ordered by number of Post Comments (posts having highest number of comments are on top)
Time range Time range of condition to query Popular Posts - All time
- A Day ago
- A Week ago
- A Month ago
- A Year ago
Listing Layout Layout of Popular Posts: the same as Posts Layout Show Popular Posts select box Show a select box to switch between Popular Posts and Latest Posts page (Blog page) - Page Settings
Sidebar Select “Default” to use settings in Theme Options - Default
- Left
- Right
- Hidden (hide sidebar)
- Popular Posts Content Settings
This page template is used to list popular posts and often used for Front Page. See Home Page Setup