Track daily and total visits on your blog posts. Display the count as well as popular and trending posts.
get_tptn_pop_poststhat can be used to fetch the popular posts as an object or array. Perfect if you want to write custom code in your theme
tptn_list_countto modify the formatted list count. See a working example
add_image_sizeto register the custom size. I recommend using Force Regenerate Thumbnails
tptn_pop_posts()can take. For a full list of parameters, please check out the FAQ.
tptn_posts_widgetfor the widgets
get_tptn_post_count_onlyto get just the post count. Use it by passing the Post ID and the type of count (total, daily or overall):
get_tptn_post_count_only($id = FALSE, $count = 'total')
tptn_after_thumbthat wraps around all items of the list after the post thumbnail. This allows you to cleanly style all items to float to the right of the thumbnail
tptn_titlethat can be used to style the title of the posts
tptn_posts_dailyfor the widgets that let you easily style the lists
Requires: 3.5 or higher
Compatible up to: 4.2
Last Updated: 2015-4-12
Active Installs: 30,000+
22 of 31 support threads in the last two months have been resolved.
Got something to say? Need help?