Changeset 478610
- Timestamp:
- 12/21/2011 03:30:47 PM (14 years ago)
- Location:
- custom-post-types-image
- Files:
-
- 2 edited
-
tags/0.5/readme.txt (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
custom-post-types-image/tags/0.5/readme.txt
r478306 r478610 7 7 Stable Tag: 0.5 8 8 9 cptImages allows you to upload and attach an image to any registered custom post types and call it via shortcode or template tag in your theme. Think of it as "featured images" for your post types! 9 Upload and attach a 'featured' image to any registered custom post types and call it via shortcode or template tag in your theme. 10 10 11 11 == Description == 12 12 13 cptImages makes it easy to attach an image to any custom post type, which you can then call as necessary in the archive page for that post type OR in the single itself, depending on how you use the plugin. 14 15 Please note, as with every plugin or theme modification, you should do a backup of your files beforehand. Although we've tested this across many installs, we are not responsible for anything it does to your system and do not guarantee support. 13 Custom Post Type Images makes it easy to attach an image to any custom post type, which you can then call as necessary in the archive page for that post type OR in the single itself, depending on how you use the plugin. Think of it as a featured image for your post types, which you can use on overview or other pages. 16 14 17 15 == Installation == … … 25 23 26 24 In PHP in your template. To retrieve the image url to a variable, use get_cptimage_image($optionalname, $echo) (you can use get_cptimage_image("Custom Post Type Name") to retrieve a specific post type image, or get_cptimage_image("Custom Post Type Name", true) to echo the url rather than retrieving it. To merely display the image, call cptimage_image("Custom Post type Name") or simply cptimage_image(). Not that if you do not pass a post type name it will only appear when you are on a single item of that custom post type OR in the archive page itself. 25 26 Please note, as with every plugin or theme modification, you should do a backup of your files beforehand. Although we've tested this across many installs, we are not responsible for anything it does to your system and do not guarantee support. 27 27 28 28 == Frequently Asked Questions == -
custom-post-types-image/trunk/readme.txt
r478305 r478610 7 7 Stable Tag: 0.5 8 8 9 cptImages allows you to upload and attach an image to any registered custom post types and call it via shortcode or template tag in your theme. Think of it as "featured images" for your post types! 9 Upload and attach a 'featured' image to any registered custom post types and call it via shortcode or template tag in your theme. 10 10 11 11 == Description == 12 12 13 cptImages makes it easy to attach an image to any custom post type, which you can then call as necessary in the archive page for that post type OR in the single itself, depending on how you use the plugin. 14 15 Please note, as with every plugin or theme modification, you should do a backup of your files beforehand. Although we've tested this across many installs, we are not responsible for anything it does to your system and do not guarantee support. 13 Custom Post Type Images makes it easy to attach an image to any custom post type, which you can then call as necessary in the archive page for that post type OR in the single itself, depending on how you use the plugin. Think of it as a featured image for your post types, which you can use on overview or other pages. 16 14 17 15 == Installation == … … 25 23 26 24 In PHP in your template. To retrieve the image url to a variable, use get_cptimage_image($optionalname, $echo) (you can use get_cptimage_image("Custom Post Type Name") to retrieve a specific post type image, or get_cptimage_image("Custom Post Type Name", true) to echo the url rather than retrieving it. To merely display the image, call cptimage_image("Custom Post type Name") or simply cptimage_image(). Not that if you do not pass a post type name it will only appear when you are on a single item of that custom post type OR in the archive page itself. 25 26 Please note, as with every plugin or theme modification, you should do a backup of your files beforehand. Although we've tested this across many installs, we are not responsible for anything it does to your system and do not guarantee support. 27 27 28 28 == Frequently Asked Questions ==
Note: See TracChangeset
for help on using the changeset viewer.