Title: Commas
Last modified: August 31, 2016

---

# Commas

 *  [thomaswarinner](https://wordpress.org/support/users/thomaswarinner/)
 * (@thomaswarinner)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/commas-3/)
 * Hey,
 * I saw the same question on page 3 – though it didn’t have enough detail (what
   I’m supposed to paste and where) for my tiny brain to work with.
 * Could you be more explicit about how and what code I’m to integrate?
 * Cheers,
    Thomas
 * [https://wordpress.org/plugins/post-views-counter/](https://wordpress.org/plugins/post-views-counter/)

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

 *  Plugin Author [dFactory](https://wordpress.org/support/users/dfactory/)
 * (@dfactory)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/commas-3/#post-7261807)
 * Sorry, can you be more precise? I don’t understand your question / request.
 * Regards,
    Bartosz / dfactory team
 *  Thread Starter [thomaswarinner](https://wordpress.org/support/users/thomaswarinner/)
 * (@thomaswarinner)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/commas-3/#post-7261973)
 * Hey Bartosz,
 * Sorry – I mean how would I accomplish putting commas in the thousands separators.
 * Ex. 1,000 vs 1000
 *  Plugin Author [dFactory](https://wordpress.org/support/users/dfactory/)
 * (@dfactory)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/commas-3/#post-7261975)
 * Hi,
 * We’re using this WordPress native function to format number for the output: [https://codex.wordpress.org/Function_Reference/number_format_i18n](https://codex.wordpress.org/Function_Reference/number_format_i18n)
 * So it should be there automatically. But question is where you’d like to have
   that – in the admin or front of the site (in your posts)?
 *  Thread Starter [thomaswarinner](https://wordpress.org/support/users/thomaswarinner/)
 * (@thomaswarinner)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/commas-3/#post-7261988)
 * Just on the front end with the posts. A request from an anal boss…
 *  Plugin Author [dFactory](https://wordpress.org/support/users/dfactory/)
 * (@dfactory)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/commas-3/#post-7261991)
 * If you look at the link there is a filter hook with the same name – number_format_i18n.
 * You may use it to return a differently formatted number.
 *  Thread Starter [thomaswarinner](https://wordpress.org/support/users/thomaswarinner/)
 * (@thomaswarinner)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/commas-3/#post-7261992)
 * Where would I input that hook within the php to get it working?
 *  Plugin Author [dFactory](https://wordpress.org/support/users/dfactory/)
 * (@dfactory)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/commas-3/#post-7261997)
 * You have to code it in your functions.php

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

The topic ‘Commas’ is closed to new replies.

 * ![](https://ps.w.org/post-views-counter/assets/icon-256x256.png?rev=2973820)
 * [Post Views Counter](https://wordpress.org/plugins/post-views-counter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-views-counter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-views-counter/)
 * [Active Topics](https://wordpress.org/support/plugin/post-views-counter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-views-counter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-views-counter/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [dFactory](https://wordpress.org/support/users/dfactory/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/commas-3/#post-7261997)
 * Status: not resolved