June 2, 2013

WordPress Plugin – Alphabetic Pagination

Alphabetic Pagination

May 31, 2013

WordPress Plugin – WP Simple Galleries – Images Helper Function

WordPress Plugin – WP Simple Galleries – Images Helper Function I have written this function for myself to use in a module. I was not require any shortcode so my requirement was like this. Have a look, might it will work for you as well. if(!function_exists(‘wp_simple_gallery_images’)){ function wp_simple_gallery_images($post_id) { $images = array(); $post_meta = get_post_meta($post_id, […]

May 29, 2013

WordPress Plugin – WordPress Mechanic

WordPress Mechanic

May 24, 2013

WordPress Plugin Editflow: User groups not selected on edit user page

WordPress Plugin Editflow 0.7.6: User groups not selected on edit user page User ids array was being empty on wp-admin/network/users.php. I created a user group through editflow -> user groups, selected users and updated. It was working fine but when i tried to edit a specific user, checkbox(es) were not checked. It was working fine […]

March 7, 2013

Force Download File with php finfo

PHP: Hypertext Preprocessor

Force Download File with php finfo $file_info = new finfo(FILEINFO_MIME); $type = $file_info->buffer(file_get_contents($zip_file)); header(“Pragma: public”); header(“Expires: 0”); header(“Pragma: no-cache”); header(“Charset: null”); header(“Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0”); header(“Content-Type: application/force-download”); header(“Content-Type: application/octet-stream”); header(“Content-Type: application/download”); header(‘Content-disposition: attachment; filename=’ . str_replace(‘ ‘,’-‘, file_parts($zip_file,’name’))); header(“Content-Type: $type”); header(“Content-Transfer-Encoding: binary”); header(‘Content-Length: ‘ . filesize($zip_file)); @readfile($zip_file); exit(0); Its a revision to Download […]

March 2, 2013

Web based application need to be done

WordPress Mechanic - WordPress Plugin

Web based application need to be done Do you have a reference website or any paper work scanned? Do you have a working website online and need some fixes in existing scripts? Do you have shortage of time and can’t afford delays in development process? Do you need only project estimation regarding hours or cost? […]

February 26, 2013

WordPress Function – Load Serialized Array from a Binary File

wordpress

WordPress Function – Load Serialized Array from a Binary File This function give you the convenience of reading serialized array from a binary file. It is good to manage few things with files instead of querying the database for very small flags which can be intelligently manged through filing. if(!function_exists(‘load_binary_file’)) { function load_binary_file($settings=array()) { $binary_file_file […]

WordPress Plugin – Keep Backup Daily

WordPress Plugin Keep Backup Daily

Keep Backup Daily