| | |

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…

| | |

How to remove autocomplete in all fields WordPress CSS?

How to remove autocomplete in all fields WordPress CSS? Reason is some fields auto fill is wrong. Example email field auto fill with date of birth. Some users confused of this and don’t want this in their site. Copy the codes below in your functions.php of your current theme folder.

| | | |

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…