[ad_1]
Hi,
I love your plugin, which is one of its kind!
I’m trying to change the 000 separator for the sbs_cpt_count shortcode (I need to display the number of a custom post type), to a dot for the european number format, and no luck so far.
I read the documentation and relevant support posts, but it seems the “number_format” switch works only with sbs_posts. I also tried the following script, but it doesn’t work either, which is strange because I think I got the class name right :
<script>
var arr = document.getElementsByClassName("sbs-count-cpt");
for(i = 0; i < arr.length; i++){
arr[i].innerHTML = arr[i].innerHTML.replace(",",".");
}
</script>
Could you help me solve this please ?
Thanks!
RP
