Articles

Collection of articles posted by our fellow developers related of course to our field.

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

Create Email Template with Background Image

Email marketing today sounds old but believe it or not, it's still kicking as strong as horse! I thought it was dying but after being assigned temporarily to work on a team specialized on it, it turns out that I was wrong. I was assigned to create email template for them by the way.

Read more

Passing variables to get_template_part

Hi guys it's been a while since my last post and I feel sad that I was not able to contribute on web. Anyway I hope with this simple trick I'll share, will be able to help some of my fellow developer.

Read more

How to enable session in Lumen 5.4

Having a problem on how to enable the session in Lumen? Well I've been in that situation few weeks ago, I didn't know that laravel has officially stopped supporting session in laravel/lumen framework from version 5.2 on wards before I've started my project.

Read more