[plugin WP-Paginate] WP Paginate not displayed
-
hi there!
i’ve been trying to use your plugin, vut it doesn’t work…
here’s my website: http://www.alicebaum.it
i use the wpesp postfolio theme http://wpesp.com/
i just want the thumb to show previous pages. here’s where i put the code:
(in home page template)<!– =============================================================
#WORKS
============================================================= –>
<div id=”works”>
<div class=”minus14″>
<?php // Featurd Work goes first
$the_query = new WP_Query(‘category_name=featured&orderby=rand&showposts=1’);
while ($the_query->have_posts()) : $the_query->the_post();
$do_not_duplicate = $post->ID;// We show just one post of category work and don’t duplicate it after | http://codex.wordpress.org/The_Loop#Multiple_Loops_in_Action
?><div class=”thumb”>
” title=”leggi tutto – <?php the_title_attribute(); ?>”><img src=”<?php $src_thumb_value = get_post_meta($post->ID, “src_thumb_value”, true); echo $src_thumb_value; ?>” width=”276″ height=”115″ alt=”<?php the_title_attribute(); ?>” title=”Thumb of <?php the_title_attribute(); ?>” />
</div><!– .thumb –><?php endwhile; ?>
<?php // Rest of works
if (have_posts()) : while (have_posts()) : the_post();
if( $post->ID == $do_not_duplicate ) continue; update_post_caches($posts);
// http://codex.wordpress.org/The_Loop#Multiple_Loops_in_Action
?><div class=”thumb”>
” title=”leggi tutto – <?php the_title_attribute(); ?>”><img src=”<?php $src_thumb_value = get_post_meta($post->ID, “src_thumb_value”, true); echo $src_thumb_value; ?>” width=”276″ height=”115″ alt=”<?php the_title_attribute(); ?>” title=”Thumb of <?php the_title_attribute(); ?>” />
</div><!– .thumb –><?php endwhile; endif; ?>
<?php if(function_exists(‘wp_paginate’)) {
wp_paginate();
} ?>
</div><!– .minus14 –>
</div><!– #work –></div><!– #slider –>
<?php get_footer(); ?>
—
thanks for your help!
bestbarbara
- The topic ‘[plugin WP-Paginate] WP Paginate not displayed’ is closed to new replies.