>
Download This Plugin | |
Download Elegant Themes | |
Name | Thumbnail Field |
Version | 1.0.3 |
Author | Cornershop Creative |
Rating | 0 |
Last updated | 2014-09-18 03:20:00 |
Downloads |
137
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
Thumbnail Field plugin added 0 bytes of resources to the Home page and 4 bytes of resources to the sample Post page.
Thumbnail Field plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! Thumbnail Field plugin ads no tables to your Wordpress blog database.Thumbnail Field's purpose is simple and straightforward: It creates two new functions, the_thumbnail_field()
and get_thumbnail_field()
, to facilitate retrieving information from a post's featured image, such as the title, alt, description, or caption. Theme and plugin developers are welcome to strip these functions out of this plugin and use them directly in their work, or require this plugin.
In keeping with WordPress style, the_thumbnail_field()
echoes the field value, whereas get_thumbnail_field()
merely returns it.
Both functions take up to three arguments, all of which are optional:
Thus, outputting the description for the featured image of post ID 45 would look like this:
<?php the_thumbnail_field( 'description', 45 ); ?>
Installing this plugin will make no visible changes to your WordPress admin.