| |

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…

| | | | |

get_the_ID() conflict in nested WP_Query codes

Hi guys, I have this problem during my WordPress coding journey. The `get_the_ID()` has conflict in nested `WP_Query` codes. On the first `WP_Query` loop, the ID for example is 20, then inside that loop I have another `WP_Query` (see the codes below) that makes the `WP_Query` codex more completed if you don’t code it right….