Not all posts showing and nav not working
-
I’m working on redesigning my site and am having some trouble.
https://varriaga.com/artwork/I am calling my posts by categories and displaying their associated thumbnails. Problem is, not all the posts are showing. The above page is only showing 11 posts, when I have about 20 in that category.
I’m not sure what I did wrong, I copied the code that I used for my last site design (which used the same thumbnail structure) but it’s not working. I made one change in the navigation – I added image links – but the problem existed before I changed that.
Thumbs/posts:
<div id="featuredwork_art"> <div id="portcontent"> <?php if (have_posts()) : ?> <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts('posts_per_page=12&cat=6&paged='.$paged); ?> <?php while (have_posts()) : the_post(); ?> <div class="portpost"> </div> <?php endwhile; ?> <div id="recent-content"> <ul class="recent-projects-port"> <li> <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts('posts_per_page=12&cat=6&paged='.$paged); ?> <?php while (have_posts()) : the_post(); ?> <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><img src="<?php echo get_option('home'); ?>/wp-content/thumbs/<?php // this is where the custom field prints images for each Feature $values = get_post_custom_values("Thumb"); echo $values[0]; ?>" alt="" /></a> <?php endwhile; ?> </li> </ul> </div>
Navigation:
<div class="port-navigation"> <span class="previous-entries"><?php previous_post_link('%link', '<img src="/images/back.gif">', TRUE); ?> </span> | <span class="next-entries"><?php next_post_link('%link', '<img src="/images/next.gif">', TRUE); ?> </span> </div>
I’d appreciate any help.
Thanks. :]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Not all posts showing and nav not working’ is closed to new replies.