Skip to main content

Posts

Showing posts with the label tutorial

FDisk: Fixing What GParted Can’t

After my foray into making bootable flash drives , I decided to put my flash drive back to its original state. It was going to take at least a little bit of effort since I know had multiple partitions on the drive which would need to be removed. I first went to my default disk utility, GParted. GParted allowed me to first unmount the partitions that Linux was auto-mounting as drives. I was then able to delete the partitions to make the drive completely unallocated space. That’s where I started to run into issues. I went to make the entire drive a single FAT32 partition, but GParted gave me the following .... Read More

Wordpress Tutorial: Custom Admin Panel with image upload

In previous tutorial we developed a basic plugin that allowed us to use a shortcode. This tutorial will show you how to make basic administration panel in WordPress admin. We will make two fields, first will hold name of the image and the second will hold the image itself. Image adding will be done via WordPress native image upload interface. function wp_myCustomPlugin_install ( ) {       $newoptions = get_option ( 'mycustomplugin_options' ) ;       $newoptions [ 'title' ] = '' ;       $newoptions [ 'image' ] = '' ; } http://premiumcoding.com/wordpress-tutorial-custom-admin-panel/