This plugin can create automaically custom key of url and alt of the post image.
use below code to show thumbnail in your template
$thumb = get_post_meta($post->ID, “Thumbnail”, $single = true); $thumb_alt = get_post_meta($post->ID, “Thumbnail-alt”, $single = true);
(note: “Thumbnail” will be replaced by your own custom key)
- Download the zipped plugin file to your local machine
- Unzip the file.
- Upload the “ms-auto-thumbnail-custom-key” folder to the “/wp-content/plugins/” directory.
- Activate the plugin through the “Plugins” menu in WordPress.
for more detail visit http://shahidmau.blogspot.com
Contributors & Developers
“MS Auto Thumbnail Custom Key Generator” is open source software. The following people have contributed to this plugin.