Chiuy
19 Sep 2009, 08:58 PM
Hey guys, help me with this one.
Go to my website: http://Chiuy.com
And go to leadership, click on any subcategories. Then it will show you pictures but the only problem is... it only show up to 10 pictures.
I want it to show like 30 pictures or so. Anybody know the coding for this? I can't figure it out. thanks.
<span class="current-category">
<?php single_cat_title('Currently Browsing: ', 'display'); ?>
</span>
<div id="home-wrapper">
<?php if (have_posts()) : while (have_posts()) : the_post();
if( $post->ID == $do_not_duplicate ) continue; update_post_caches($posts); ?>
<?php $thumb = get_post_meta($post->ID, 'Thumbnail', $single = true);?>
<div class="thumbnail-wrap thumbnail-category">
<div class="thumbnail-div">
<div style="background-image: url(<?php bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php echo $thumb; ?>&h=141&w=141&zc=1&q=50); height: 141px; width: 141px;"> <img src="<?php bloginfo('stylesheet_directory'); ?>/images/thumbnail-shadow.png" alt="bottom" class="thumbnail-shadow" />
<div class="sections-overlay"><a href="<?php echo $thumb; ?>" title="<?php the_title() ?><img src="<?php bloginfo('stylesheet_directory'); ?>/images/zoom.png" alt="zoom" class="zoom" /></a><a href="<?php the_permalink() ?>" class="readmore">read more >></a></div>
</div>
</div>
</div>
<?php endwhile; ?>
</div>
<div style="clear: both;"></div>
<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); }
else { ?>
<p class="pagination">
<?php next_posts_link('« Previous Entries') ?>
<?php previous_posts_link('Next Entries »') ?>
</p>
<?php } ?>
<?php else : ?>
<!--If no results are found-->
<h1>No Results Found</h1>
<p>The page you requested could not be found. Try refining your search, or use the navigation above to locate the post.</p>
<!--End if no results are found-->
<?php endif; ?>
-Chiuy
Go to my website: http://Chiuy.com
And go to leadership, click on any subcategories. Then it will show you pictures but the only problem is... it only show up to 10 pictures.
I want it to show like 30 pictures or so. Anybody know the coding for this? I can't figure it out. thanks.
<span class="current-category">
<?php single_cat_title('Currently Browsing: ', 'display'); ?>
</span>
<div id="home-wrapper">
<?php if (have_posts()) : while (have_posts()) : the_post();
if( $post->ID == $do_not_duplicate ) continue; update_post_caches($posts); ?>
<?php $thumb = get_post_meta($post->ID, 'Thumbnail', $single = true);?>
<div class="thumbnail-wrap thumbnail-category">
<div class="thumbnail-div">
<div style="background-image: url(<?php bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php echo $thumb; ?>&h=141&w=141&zc=1&q=50); height: 141px; width: 141px;"> <img src="<?php bloginfo('stylesheet_directory'); ?>/images/thumbnail-shadow.png" alt="bottom" class="thumbnail-shadow" />
<div class="sections-overlay"><a href="<?php echo $thumb; ?>" title="<?php the_title() ?><img src="<?php bloginfo('stylesheet_directory'); ?>/images/zoom.png" alt="zoom" class="zoom" /></a><a href="<?php the_permalink() ?>" class="readmore">read more >></a></div>
</div>
</div>
</div>
<?php endwhile; ?>
</div>
<div style="clear: both;"></div>
<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); }
else { ?>
<p class="pagination">
<?php next_posts_link('« Previous Entries') ?>
<?php previous_posts_link('Next Entries »') ?>
</p>
<?php } ?>
<?php else : ?>
<!--If no results are found-->
<h1>No Results Found</h1>
<p>The page you requested could not be found. Try refining your search, or use the navigation above to locate the post.</p>
<!--End if no results are found-->
<?php endif; ?>
-Chiuy