• Resolved midwestsole

    (@midwestsole)


    I have disabled the post views count on my main page, however when you click a sub-page such as https://www.midwestsole.com/category/nike-2/ , the views are showing. I wouldn’t mind as much if the view count was accurate, but it is wildly inaccurate.

    Please help me remove this feature from my website altogether. MidwestSole.com

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Midwestsole,

    Try adding this code to your CSS, basically hides all view counts with CSS.

    .entry-meta span.post-views{ display: none;}
    .entry-meta span.sep:last-of-type { display: none;}

    (last-of-type which removes the associated seperator is compatible with Chrome, Safari 3.2+, Firefox, Opera9.5+, IE 9+, Android and iOS)

    You could also go into your theme and remove it from there permanently but this isn’t ideal if you plan on upgrading a purchased theme in the future. Another avenue would be to remove it with your functions.php file.

    Let me know if it works!

    VW

    Thread Starter midwestsole

    (@midwestsole)

    Thank you, that worked perfectly.

    No problem, if you have any more questions just shout! ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Removing Post Views’ is closed to new replies.