Tags » Admin

Dreamforce 2014 - My Session Recap

Dreamforce 2014 is a few weeks behind us and many of the sessions have now been posted as videos. Unlike past years, the videos are not being posted to YouTube. 523 more words


Project Bookshelf: Grant Howard

When you look at a bookshelf, you always look for what stories it holds—never for what the story is about the bookshelf. Being a bibliophile, better known as a used-book hoarder, I have a total of four bookshelves in my room. 663 more words


The Wardrobe's Best Dressed: Kelli Russell Agodon's "Hourglass Museum"

Distant Horizons


Early morning and I find beauty
in imperfection. Rain. Fog.

Too tired to sleep, I become a wanderlust
in cardboard shoes.

2… 433 more words


Welcome President Putin to Gorlovka Spa!

President Putin should decidedly take with Him Mr. Lavrov!

Five stars health resort. Guaranteed by Mr. Poroshenko of Nazi Ukraine, Mrs. Merkel of IV Reich Germany and the CIA of the USA! 90 more words


Function : wp_handle_upload() not generating thumbnails

Below is the code which can help you to generate thumbnails by using wp_handle_upload() function.

global $post;
require_once( ABSPATH . 'wp-admin/includes/file.php' );

foreach($_FILES as $field => $file){
if($field == 'input_name' && $file['size'] > 1){
$override['action'] = 'editpost';

// Upload File
$uploaded_file = wp_handle_upload($file, $override);
$attachment = array(
'post_title' => $file['name'],
'post_content' => '',
'post_type' => 'attachment',
'post_parent' => $post->ID,
'post_mime_type' => $file['type'],
'guid' => $uploaded_file['url']

// Create an Attachment in WordPress
$id = wp_insert_attachment( $attachment,$uploaded_file[ 'file' ], $post->ID );
wp_update_attachment_metadata( $id, wp_generate_attachment_metadata( $id, $uploaded_file['file'] ) );

update_post_meta($post->ID, $field, $id);

//Remove it from the array to avoid duplicating during autosave/revisions.

Free Demo I: Oracle WebLogic Admin Training : Friday, November 21 at 08:00 AM IST

S&M Consultants is pleased to invite you to join the upcoming Online Session for Oracle WebLogic Administration Training.
To attend the class please login at : https://global.gotomeeting.com/join/95449738… 14 more words