Use following code and create wordpressapi.php file and upload this file to wp-content/plugins/ folder.
<?php
/*
Plugin Name: WordPressapi Meta Box
Plugin URI: http://images.wordpressapi.com/
Description: Adding the Meta box to admin panel -> post
Version: 0.0
Author: WordPressapi
Author URI: http://images.wordpressapi.com/
*/
function wordpressapi_meta_box() {
add_meta_box(
'wordpressapi',
'Wordpressapi Box', //Meta box title
'write_in_meta_box',
'post' // You can define here where to add the Meta box(post, page, link)
);
}
function write_in_meta_box(){
echo "Wordpressapi is writing something in admin meta box";
}
if (is_admin())
add_action('admin_menu', 'wordpressapi_meta_box');
?>

Go to your Plugin tab and activate the “WordPressapi Meta Box” plugin.
After activating the plugin you are able to see the Meta box on post page.






I’ve been checking your blog for a while now, seems like everyday I learn something new
Thanks
I REALLY liked your post and blog! It took me a minute bit to find your site…but I bookmarked it. Would you mind if I posted a link back to your post?