Problema con pagenavi
-
Hola, eh comprado un theme y tengo un problema con pagenavi.
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class=»pelicula» id=»post-<?php the_ID(); ?>»>
<div class=»poster marco-sinopsis»><?php $values = get_post_custom_values(«COD_posters»); if (isset($values[0])) { ?>
«><img src=»<?php $values = get_post_custom_values(«COD_posters»); echo $values[0]; ?>» alt=»<?php the_title(); ?>» width=»130″ height=»200″ /><?php } else { ?>
«><img src=»<?php bloginfo(‘template_directory’); ?>/images/no.png» alt=»» width=»130″ height=»200″ /><?php } ?>
<div class=»sinopsis texto»>
<h3><?php the_title(); ?></h3>
<?php the_excerpt(); ?>
</div>
<h2>» title=»<?php the_title(); ?>»><?php the_title(); ?></h2>
</div>
</div><?php endwhile; ?>
<div class=»clear»></div>
<center> <?php if(function_exists(‘wp_pagenavi’)) : ?>
<?php wp_pagenavi() ?> </center><?php else : ?>
<b style=»background: yellow;»>Debes instalar Wp-Pagenavi</b> http://wordpress.org/extend/plugins/wp-pagenavi/
<?php endif; ?><?php else : ?>
<h1>Nada encontrado.</h1>
<?php endif; ?>
</div>El codigo de arriba es donde tengo el problema cuando desistalo el plugins y borro la linea de codigo donde llama al pagenavi el sitio web no carga, no necesito paginacion en el sitio pero no puedo eliminarla sin tener algun error.
Muchas gracias por la ayuda
- El debate ‘Problema con pagenavi’ está cerrado a nuevas respuestas.