post image
-
Hey Community,
I’m using Kaf’s post_image plugin, and I’m trying to get it to work within the loop on a page. Does the plugin not work on pages?
By the way, here is the code I’m using inside a page template:
<? query_posts(array('category__and'=>array(17,24),'showposts'=>5,'order'=>DESC)); ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <ul class="bait_featured_pics"> <?php post_image(); ?> <li id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a> <?php the_excerpt_reloaded(10, '<img><a>', 'none', TRUE, '', FALSE, 2); ?></li> </ul> <?php endwhile; ?> <?php endif; ?>
Any help/info is greatly appreciated!
Best,
Orion
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘post image’ is closed to new replies.