WordPress Dev: How to send html email using wp_mail()?
Recently got a request to configure wordpress plugin to send html email using the native wp_mail() function. The main purpose is to beautify the email layout with some colourful content. So i dig into...
View ArticleCynogenmod: No Vibration when Receiving SMS
Just installed Cynogenmod 7 to my old HTC Desire phone, and I can start feeling the speed! Since it’s first time using Cynogenmod i’m trying to play around with all the settings. However i find there...
View ArticleHow to print screen in Asus Zenfone 6
Just get myself a new Asus Zenfone 6. it’s an awesome phone. However, it seems having problem when i’m trying to print screen using Power + Volumne Down key. I’m not sure what happen to my phone but...
View ArticleSymfony2: How to get Doctrine Entity Manager in Console command
Symfony2 allow you to create your own console command thru Console Component. Since the bundle i’m writing is only for my own use, i’m trying to write a console command to load all my data to database....
View ArticleMySQL 5.5 PDO::__construct(): The server requested authentication method...
Just upgrade one of my MySQL from 5.0 to 5.5 using WHM MySQL Upgrade tools. The upgrade went smooth. Right after i think everything is ok, some of my website show error while performing db query...
View ArticlePrestashop 1.6: “Unexpected token
Recently i tried to upgrade a Prestashop system from version 1.5 to 1.6. The upgrade scripts shows no error, but when i go there are some hiccups at the backend. When i tried to upload thumbnail for my...
View ArticleBootstrap 3: Responsive image align center
If you are using Bootstrap 3, you might come into a problem where you can use .text-center to align text to center but not image. There are many different work around to solve this issue including...
View ArticleComposer: PHP Fatal error: Allowed memory size of … exhausted…
If you are using composer in your php project, you might encounter the the same error as mine. PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 71 bytes) in...
View ArticleWordPress: How to upload image using script?
Just migrated an old site to WordPress. This old website contain more than 1200 images and if i migrate manually it will take a long time. So i wrote two script, first to extract all the images and...
View ArticleWordPress Custom Taxonomy Pagination show 404 page not found error
Recently i’ve a custom WordPress development, it involve quite a number of custom taxonomy and custom post types. If you are familiar with custom taxonomy and post types, most probably you might write...
View Article