The loop only showing 10 posts
-
Hi.
I′m not the one ho made the site im working with.
I′m not a progamer.Ok.
I have 17 posts but the website only showing 10.
This is just a guess, but I guess this is the place where the data is beeing picked up:“”””””””””””””
<div class=”material-box”><div class=”material-box-title” id=”tekniska”>
Tekniska moment
</div><div class=”material-box-content” id=”tekniska-info”>
<?php
$loop = new WP_Query( array( ‘post_type’ => ‘material’, ‘orderby’ => ‘menu_order’, ‘order’ => ‘ASC’,’post_count’ => ‘100’,’category_name’=> ‘tekniska’) );while ( $loop->have_posts() ) : $loop->the_post();
$pdf_name = get_post_meta($post->ID, ‘wpcf-pdf-name’, true);
$pdf_link = get_post_meta($post->ID, ‘wpcf-pdf-file’, true);$video_name = get_post_meta($post->ID, ‘wpcf-video-name’, true);
$video_link = get_post_meta($post->ID, ‘wpcf-video-file’, true);?>
<p>“><?php echo $pdf_name; ?></p>
<p>” class=”html5lightbox” data-width=”960″ data-height=”640″ title=”test”><?php echo $video_name; ?></p>
<?php endwhile; ?>
</div>
</div>
“””””””””””””It says “while loop has posts loop the post”?
So why dont it?Please help me.
- The topic ‘The loop only showing 10 posts’ is closed to new replies.