Title: View Count Inside Widget
Last modified: August 21, 2016

---

# View Count Inside Widget

 *  Resolved [locutus45](https://wordpress.org/support/users/locutus45/)
 * (@locutus45)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/view-count-inside-widget/)
 * Hello,
 * Your plugin works well. However, I have a question. I would like to modify the
   view count display inside of the widget.
 * Instead of displaying (123) next a post with that many views, I would like it
   to display “123 views”
 * How can I modify this to add the word “views” WITHOUT the parenthesis ()?
 * Cheers
 * [https://wordpress.org/plugins/top-10/](https://wordpress.org/plugins/top-10/)

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [markbarnes19](https://wordpress.org/support/users/markbarnes19/)
 * (@markbarnes19)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/view-count-inside-widget/#post-5000320)
 * I just installed the top 10 plugin. I’ve set it to show popular posts back 200
   days. It’s only showing 1 post — the one I put up today. I set it to show 7, 
   and obviously the one I just posted isn’t one of the most popular.
 * What’s the fix?
 *  Plugin Author [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/view-count-inside-widget/#post-5000440)
 * [@locutus45](https://wordpress.org/support/users/locutus45/), you can’t do this
   currently in the plugin.
 *  Thread Starter [locutus45](https://wordpress.org/support/users/locutus45/)
 * (@locutus45)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/view-count-inside-widget/#post-5000480)
 * That’s a shame.
 * My website has an older demographic that are not tech savvy. Some of the people
   are not sure what the numbers in parenthesis mean.
 * I truly wish I could have it say “views” next to the number.
 * You created a nice plugin. It’s a shame something simple like my request could
   not be added/modified.
 * If you ever do come up with a solution, I would be most interested.
 * Cheers
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/view-count-inside-widget/#post-5000481)
 * Just a thought but could you possibly add ” views” using the CSS :after pseudo
   class?
 *  Thread Starter [locutus45](https://wordpress.org/support/users/locutus45/)
 * (@locutus45)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/view-count-inside-widget/#post-5000484)
 * Please explain…
 *  Plugin Author [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/view-count-inside-widget/#post-5000515)
 * For now, If you want you can edit the plugin to remove the brackets.
 * [https://plugins.trac.wordpress.org/browser/top-10/trunk/top-10.php#L464](https://plugins.trac.wordpress.org/browser/top-10/trunk/top-10.php#L464)
 * I’m adding more filters which allow modification of text, but it will be future
   versions.
 * On the after css class, check out:
 * [https://developer.mozilla.org/en-US/docs/Web/CSS/](https://developer.mozilla.org/en-US/docs/Web/CSS/)::
   after
 *  Thread Starter [locutus45](https://wordpress.org/support/users/locutus45/)
 * (@locutus45)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/view-count-inside-widget/#post-5000535)
 * Ajay,
 * Thank you for replying. I appreciate your help, however, where do I put the css
   code with regards to your .php file?
 * I am not a programmer. If someone could put the simple code up here, I’d really
   appreciate it. I can copy and paste, upload files, and such, but something relatively
   simple for you guys would take me hours to figure it out, if I even could.
 * I just want it to say “x number of views” with no parenthesis.
 * Cheers
 *  Plugin Author [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/view-count-inside-widget/#post-5000555)
 * The CSS won’t help because you’re still going to have the brackets. If you’re
   OK to have the brackets, you could try adding this under the custom styles tab:
 *     ```
       .tptn_list_count::after {
          content:    " number of views";
       }
       ```
   
 * It should display “(x) number of views”
 *  Thread Starter [locutus45](https://wordpress.org/support/users/locutus45/)
 * (@locutus45)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/view-count-inside-widget/#post-5000559)
 * Fabulous, bravo!
 * I knew there had to be a simple solution. I hate having to re-invent the wheel
   when it’s not necessary.
 * I switched it to just “Views”. Worked like a charm. I can live with the parenthesis,
   for now.
 * It would be nice to either eliminate the parenthesis all together or include “
   views” inside of the parenthesis in the future.
 * Thank you.
 *  Plugin Author [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/view-count-inside-widget/#post-5000563)
 * I’ll be adding more filters to the plugin that allow you to manipulate output
   as you desire by adding functions to your functions.php of the theme.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘View Count Inside Widget’ is closed to new replies.

 * ![](https://ps.w.org/top-10/assets/icon-256x256.png?rev=2986432)
 * [WebberZone Top 10 — Popular Posts](https://wordpress.org/plugins/top-10/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/top-10/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/top-10/)
 * [Active Topics](https://wordpress.org/support/plugin/top-10/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/top-10/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/top-10/reviews/)

 * 10 replies
 * 4 participants
 * Last reply from: [Ajay](https://wordpress.org/support/users/ajay/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/view-count-inside-widget/#post-5000563)
 * Status: resolved