Category: PHP

PHP is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.

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

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