7 days post sorting option

Posted in: Newspaper
Post count: 24

Hi,

I’m setting the 7 days post sorting option.But I don’t want to show the post views on posts to my users.
If I use css(display:none) to not show the post views, will 7 days post sorting work correctly?

Thanks.

Post count: 22421

Hello,

Yes, if you simply hide post views with css, the sorting option will still count the numbers.

Thank you!

Post count: 24

Thank you so much!

Post count: 3

Hello,
I am trying to do the same thing, but my css skill is limited to just copy and paste.
Can you share with me the css code to hide post views from users while keeping the 7 day days post sorting option working?

Thank you,

Post count: 22421

Sure,

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

Add this code in the theme panel- custom css box.

Thanks.

Post count: 3

Hi I tried the code but it is visitors can still see the view counts on post. I would like to have “post view counts” enable in settings but hidden from visitors.

Thank you,

Post count: 22421

Hello,

I tested the code again and it works as expected. You are maybe not implementing it correctly. Please add it to your custom css box and make sure there are no errors in there. A big red X should hint an error.

Thank you!

Post count: 3

I used this css in my site, but the users can see the count very quickly when using slow connections. How can I make it hide?

Post count: 22421

A way to make it faster is to add the code directly in style.css but unfortunately only by disabling it from the theme panel can you hide it 100%.

Thank you!

Post count: 10

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

Viewing 10 posts - 1 through 10 (of 10 total)
The forum ‘Newspaper’ is closed to new topics and replies.