| |

Separated number in comma and decimal point using PHP or JS number format.

Separated number in comma and decimal point using PHP or JS number format. Commonly used in the price format and number separator. Hopefully this can help you. PHP: Found this post https://www.w3schools.com/php/func_string_number_format.asp and the codes below is the sample usage of the PHP code. JS: Found this post https://gist.github.com/rd13/3924792 and the codes below is the…

| | |

Override rtMedia media-gallery.php template into current WordPress theme

Override rtMedia media-gallery.php template into current WordPress theme is now not a problem. For example you have artist role in your users and you want different template for the artist role. This apply in `http://www.sample.com/members/artist/media/music/` page. Then create a folder inside the `/public_html/wp-content/themes/current-theme/rtmedia/media`. Create your `media-gallery-artist.php` file or simple clone the `media-gallery.php` and renamed it…