Recent Posts

Create an auto height textarea using jQuery

Hello guys, just wanted to share a simple tips and tricks on how you could make your textarea's height resize base on its content using jquery. Since we only implement this feature when requested, we often forgot and consume some time just to find out what property should we use to achive it.

Read more

How to create a virtual page in wordpress

Everytime I have a wordpress project, this feature seems always present and I always had to search it in google LOL. So I decided to write a post about it because there's a bunch of code I found and have tested that aren't working on my end which consume my time.

Read more

Woocommerce product is not purchasable

If you encountered this error, probably you’ve added the product programmaticaly. I, until now still wondering why it’s not purchasable whenever the product is added programmaticaly using the wp_insert_post function of wordpress.

Anyway, I solved the issue by making the products purchasable whatever it is, using woocomerce filter.

Read more

Laravel FormRequest Custom Validation Response

Are you building a restAPI and wanted to utilize laravel’s FormRequest validation, however, having a hard time how to customize the response of it? Actually, you’ll be surprised how easy it was, just like me or maybe not LOL!

Anyway, here's how to customize the response of laravel’s FormRequest.

Read more