Module Requirement
Details
Wordpress Display Post Image
This plugin provides the template tag `display_post_image()`. Use it to call dynamically created images uploaded via the WordPress media uploader.
Installation
- Upload the folder `display-post-image` to the `/wp-content/plugins/` directory
- Activate the plugin through the 'Plugins' menu in WordPress
- Place the below code in your templates
Usage
<?php display_post_image($args); ?>
Example
<?php if(function_exists('display_post_image')) { ?>
<a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark">
<?php echo display_post_image('width=200px&css=alignleft&parent_id='.$post->ID); ?>
</a>
<?php } ?>
| Author | Randy |
|---|---|
| Version | Wordpress Version 3 + |
| Software Required | Adobe Dreamweaver 8+ |
You may also be interested in the following product(s)
123 productsFrom: $0.00 To: $10.00 |
Quick Overview
Wordpress Display Post Image
This plugin provides the template tag `display_post_image()`. Use it to call dynamically created images uploaded via the WordPress media uploader.
Installation
- Upload the folder `display-post-image` to the `/wp-content/plugins/` directory
- Activate the plugin through the 'Plugins' menu in WordPress
- Place the below code in your templates
Usage
<?php display_post_image($args); ?>
Example
<?php if(function_exists('display_post_image')) { ?>
<a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark">
<?php echo display_post_image('width=200px&css=alignleft&parent_id='.$post->ID); ?>
</a>
<?php } ?>

