How to show wp.me shortlink underneath each post?

WP 3.0 includes: wp_get_shortlink() which returns the ?p=1 style url for any post within your domain. This can be filtered, however for other shortening services, which is what the WordPress.com Stats plugin does for self-hosted blogs. With that plugin installed and activated, wp.me shortlinks will be output instead of the default mydomain.com/?p=1, and can be … Read more

inserting uploads into subdomain

Try changing the upload path by referring to following tutorial, then use the plugin again. http://7php.com/how-to-change-the-path-of-uploading-file-in-wordpress-2-8-x-2-9-x-without-touching-the-code-configurations/

How to query details of images in gallery that is attached to a post

Query for image attachments would be something like this (taken from Get The Image plugin/extension) with get_children(): $attachments = get_children( array( ‘post_parent’ => $args[‘post_id’], ‘post_status’ => ‘inherit’, ‘post_type’ => ‘attachment’, ‘post_mime_type’ => ‘image’, ‘order’ => ‘ASC’, ‘orderby’ => ‘menu_order ID’ ) ); Then you can loop through array and retrieve URLs with wp_get_attachment_image_src() which will … Read more

Use custom header as WordPress header

You should reproduce your site’s header on the header.php file on your theme. If you want any more help you could show us some code. But basically that’s it, WordPress gets the header for the page from the header.php on your theme. Check out say Twenty Ten’s header as an example (wp-content/themes/twentyten/header.php), and try to … Read more