Tag: php

Load data in random order from ACF Repeater field
December 20th, 2017 PHP 648 views

WordPress ACF(Advanced Custom Fields) plugin provides a really nice feature of repeatable fields. So you can add set of sub fields easily and then fetch them on frontend using a very simple loop. You can make any kind of field repetitive. So it can be textbox, selectbox, date picker, image upload and many more. You […]

Read more  
How to add a div to wrap widget content area after widget title
December 14th, 2016 PHP 3,384 views

While developing wordpress theme, it has been always an essential thing for every theme developers. Everytime we create Widgets, wordpress allows us to wrap div to 2 places Over the whole widget Over the widget title but there is no option to wrap a div over the widget content. Here is the syntax that shows the […]

Read more  
Convert PDF to Image using PHP
December 27th, 2015 PHP 3,566 views

Recently one of my friend asked me if there is a way to convert a PDF to Image file. I tried to do that few months ago by following some tutorial that was using combination of Ghostscript and Imagemagick tools. But I didn’t succeed at that time as there were so many version conflicts on […]

Read more  
Instant image resize using PHP GD library
August 21st, 2015 PHP 6,848 views

While working on ecommerce website, I once faced a situation when my client requests me to change all the product thumbnail resolutions and I had to resize all the product images manually. Infact I made a PHP script to resize all the images in specific folder. But there is even better solution for this which […]

Read more  
My journey to learn Codeigniter
August 8th, 2015 Codeigniter 822 views

Here is a short story on how I started learning & training myself in Codeigniter framework & ended it within less than a Month. CodeIgniter is a powerful PHP framework with a very small footprint, built for PHP coders who need a simple and elegant toolkit to create full-featured web applications. When it comes about […]

Read more