7 day post sorting without displaying view count

Posted in: Newspaper
Post count: 109

Hello!

We need to be able to sort our popular posts based on the last 7 days’ popularity, but we don’t want to display the view counter to the user. Can you please provide me a code to disable the post view count display in our posts?

Thanks!

Post count: 27744

Hello,

Please send me the screenshots where you set the posts on the last 7 days’ popularity, also, please provide the link.

Thank you!

Post count: 109

Hi!

It was set in a widget on the sidebar ‘[TagDiv] Block 7: Populares’ as seen here: https://nimb.ws/ua2fHL

link: https://cangurunews.com.br/mae-suficientemente-boa/

And we need to hide the post view count for both desktop and mobile: https://nimb.ws/26X4af

Thanks!

Post count: 27744

Hello,

You can remove the view count from Theme Panel -> Post Settings -> Post and Custom Post Types => https://www.screencast.com/t/ZqrdPpPZc
Also, this setting applies to all posts.

Thank you!

Post count: 109

Hi! Sorry I wasn’t clear. I need to keep the view count on, so the 7 days popularity sort option can work on our ‘Populares’ section. If I disable it, then the 7 days sorting stops working for this block.

I just need to disable showing the counter on the posts to the public via some custom code.

Thanks!

Post count: 27744

Hello,

You can use this custom code CSS

.td-post-views{
display:none;
}

Set the code in Theme Panel ->Custom code -> Custom CSS
Hope this helps you!

Thank you!

Post count: 109

Thanks!

Viewing 7 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic.