• Hello sir, I want to add <div style display=”none” > Before
    [Post Views: ]. Please tell me in which file i can get [Post Views:] source

    Example: I wann hide Post views for users, I mean users can’t see post view counters.
    <div style display=”none” >Post Views: 111111</div>

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter yemafu Yacoviz

    (@yemafu)

    Problem Solved.

    go to File
    Your Domin Name /wp-content/plugins/post-views-counter/css/frontend.css
    Replace This Code

    .post-views.entry-meta > span {
         display: none;
        margin-right: 0 !important;
        font: 16px/1;
    }
    
    .post-views.entry-meta > span.post-views-icon.dashicons {
        display: none;
        font-size: 16px;
        line-height: 1;
        text-decoration: inherit;
        vertical-align: middle;
    }

    The change would be canceled in the next plugin update. Better to put the code in the additional CSS area of the theme.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Help Me Please] Want to hide post views for visitors’ is closed to new replies.