Changeset 176192
- Timestamp:
- 11/23/2009 12:26:17 PM (16 years ago)
- Location:
- wp-get-post-image
- Files:
-
- 2 edited
-
tags/0.1/readme.txt (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-get-post-image/tags/0.1/readme.txt
r176182 r176192 11 11 == Description == 12 12 13 This plugin is intended for use by WordPress developers and theme builders only. It provides the function `wp_get_post_image()`. 13 This plugin provides the template tag `wp_get_post_image()`. Use it to call dynamically created images uploaded via the WordPress media uploader. 14 15 NOTE: This plugin is intended for use by WordPress developers and theme builders only. 14 16 15 17 = Usage = … … 38 40 = Parameters = 39 41 40 **width** 41 (*integer*) Width of image. 42 * **width** (*integer*) - Width of image. 42 43 43 **height** 44 (*integer*) Height of image. 44 * **height** (*integer*) - Height of image. 45 45 46 **parent_id** 47 (*integer*) The ID of the `post_parent` for the attachment. Specifying the `parent_id` returns the first image attached to the parent post according to the attachement's menu_order. 46 * **parent_id** (*integer*) - The ID of the `post_parent` for the attachment. Specifying the `parent_id` returns the first image attached to the parent post according to the attachement's menu_order. 48 47 49 **post_id** 50 (*integer*) The ID of the attachment. 48 * **post_id** (*integer*) - The ID of the attachment. 51 49 52 **filename** 53 (*string*) The filename that corresponds to the `post_name` of the attachment. 50 * **filename** (*string*) - The filename that corresponds to the `post_name` of the attachment. 54 51 55 **return_html** 56 (*boolean*) `true` returns the image wrapped in an XHTML image tag. 52 * **return_html** (*boolean*) - `true` returns the image wrapped in an XHTML image tag. 57 53 58 54 = Example = -
wp-get-post-image/trunk/readme.txt
r176182 r176192 11 11 == Description == 12 12 13 This plugin is intended for use by WordPress developers and theme builders only. It provides the function `wp_get_post_image()`. 13 This plugin provides the template tag `wp_get_post_image()`. Use it to call dynamically created images uploaded via the WordPress media uploader. 14 15 NOTE: This plugin is intended for use by WordPress developers and theme builders only. 14 16 15 17 = Usage = … … 38 40 = Parameters = 39 41 40 **width** 41 (*integer*) Width of image. 42 * **width** (*integer*) - Width of image. 42 43 43 **height** 44 (*integer*) Height of image. 44 * **height** (*integer*) - Height of image. 45 45 46 **parent_id** 47 (*integer*) The ID of the `post_parent` for the attachment. Specifying the `parent_id` returns the first image attached to the parent post according to the attachement's menu_order. 46 * **parent_id** (*integer*) - The ID of the `post_parent` for the attachment. Specifying the `parent_id` returns the first image attached to the parent post according to the attachement's menu_order. 48 47 49 **post_id** 50 (*integer*) The ID of the attachment. 48 * **post_id** (*integer*) - The ID of the attachment. 51 49 52 **filename** 53 (*string*) The filename that corresponds to the `post_name` of the attachment. 50 * **filename** (*string*) - The filename that corresponds to the `post_name` of the attachment. 54 51 55 **return_html** 56 (*boolean*) `true` returns the image wrapped in an XHTML image tag. 52 * **return_html** (*boolean*) - `true` returns the image wrapped in an XHTML image tag. 57 53 58 54 = Example =
Note: See TracChangeset
for help on using the changeset viewer.