Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Excerpts, Read more, Pagination (http://forum.bytesforall.com/forumdisplay.php?f=20)
-   -   [SOLVED] How to display first N latests posts without pagination? (http://forum.bytesforall.com/showthread.php?t=9919)

bongo Sep 28, 2010 03:32 AM

[SOLVED] How to display first N latests posts without pagination?
 
Hi all,

I'm trying to display a fixed number of latest posts on a page, without pagination.
Is query_posts the function to use?
Although I can limit the number of posts returned via posts_per_page, pagination still occurs (ie I see a Old/Newer posts link at the bottom of the page - I am ok with pagination on other pages, but not this particular page). On the other hand, setting nopaging=false in query_posts will cause all posts to be displayed.

Is there a solution to this?

Thanks!

juggledad Sep 28, 2010 03:55 AM

you could just go to ato->Style & edit CENTER COLUMN->The LOOP and comment out/remove/put and IF around the line
HTML Code:

<?php bfa_post_pagination('<p class="post-pagination"><strong>'.__('Pages:','atahualpa').'</strong>','</p>'); ?>

bongo Oct 1, 2010 01:47 AM

Thanks juggledad! :)


All times are GMT -6. The time now is 11:33 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.