Disable jQuery no.Conflick() in WordPress for Better Performance

WordPress comes with jquery no.conflick() activate in default. This feature will cause some another jquery script not running. I do not understand why wordpress jquery no.conflick() is activate, proved some jquery script that I wrote is not running perfectly. Maybe you can get a little crazy when faced with a script that runs smoothly when…

[Snippet] PHP Code to Submit data into Database

Although we use the framework to submit data into the database, sometimes we need a pure PHP code to insert data into the database. Honestly, sometimes we forget the command to insert data into the database, because the framework has been easier for us. And this morning, I get a case where I have to enter…

cakephp-grouped-data

[Snippet] Retrive Data Grouped in Year, Month and Day on CakePHP 2.x

A small note useful for cakephp developers and especially for myself. When you want to took the record from the database and grouped into day, month and year, you can use the following functions. Simple but useful. You do not need to write a lot of codes just to retrieve the data in January 2015, for…

force-download-unsplash-image

Snippet Code : How to Force Download Image from Unsplash.com with PHP

Who does not know unsplash? Unsplash is a website that provides free large size images, you can use for any purpose. Their promise is: give 1 HD image, high quality for free every day. The images you can use for a blog post, templates, brochures or in print. Well, I need a way to transfer…

bootstrap-layout-pinterest

Resources to Building Pinterest Layout with Bootstrap

Pinterest brings a fresh new layout. The developers want to imitate it in various ways, such as by using the bootstrap and javascript. Thus, many released wordpress themes or themes with a layout similar to HTML pinterest. Actually, this layout suitable for a website with lots of pictures, displays a random image with different sizes…