PROBLEMA DE PAGINACION
-
Hola Muchachos, tengo un problemilla, mi website http://esongsradio.com/music
Tiene muchos albumes y necesito paginar los resultados de la pagina.
El codigo es el siguiente:
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>; <;?php the_content(); ?>; <?php endwhile; endif; ?>; <div class="clear">; </div><!-- .clear-->; <ul class="album">; <?php global $post; $args = array( 'order' =< 'DESC', 'post_type' =< 'audio', 'posts_per_page' =< -1 ); $loop = new WP_Query( $args ); while ( $loop->have_posts() ) : $loop-<the_post(); $album_title = $post-<post_title; $album_thumb = get_the_post_thumbnail($post-<ID, 'square1', array('title' =< '')) ?> <li> <div class="album_item mosaic-block bar">; <a>"> <div class="details mosaic-overlay aud-size"> <?php echo $album_title; ?> </div> <div class="album_artwork mosaic-backdrop"> <?php echo $album_thumb; ?> </div> </a> </div><!-- .album_item--> </li> <?php endwhile; // Always include a reset at the end of a loop to prevent conflicts with other possible loops wp_reset_query(); ?> </div><!-- #content--> En otra pagina de búsqueda, se utiliza la siguiente etiqueta de paginación: <div id="pagination"> <?php gg_pagination(); ?> </div><!-- #pagination-->
SI ME PUEDEN AYUDAR, SE LOS AGARDECERIA MUCHISIMO. 😉
- El debate ‘PROBLEMA DE PAGINACION’ está cerrado a nuevas respuestas.