[wp-hackers] next_post and previous_post

Mark Jaquith mark.wordpress at txfx.net
Fri Sep 17 05:59:11 UTC 2004


Craig Hartel wrote:

> Jason Trommetter wrote:
>
>> Can anybody out there help me?
>
>
> Jason,
>
> http://wordpress.org/support/ is the appropriate place for support 
> questions. :)
>
> Craig.
> Nuclear Moose.
>
>------------------------------------------------------------------------
>
>_______________________________________________
>hackers mailing list
>hackers at wordpress.org
>http://wordpress.org/mailman/listinfo/hackers_wordpress.org
>  
>
In 1.3, you have to use next_post() and previous_post() within the 
loop.  This has also annoyed me, as I was able to use it outside the 
loop in 1.2

The solution that I've used is to enclose the functions in another "the 
loop" (which I suppose is no longer "the loop," now that there are two 
of them).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/hackers_wordpress.org/attachments/20040917/78db63cd/attachment.htm


More information about the hackers mailing list