• I’m having some problems using next_post() and previous_post() in 1.3-alpha-3. I’m getting this error:
    Database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY post_date ASC LIMIT 0,1' at line 1] SELECT ID,post_title FROM wp_posts WHERE post_date > '' AND post_date < '2004-09-16 16:06:33' AND post_status = 'publish' AND ID != ORDER BY post_date ASC LIMIT 0,1
    Can anybody out there help me?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have the same problem with the static plugin on 1.2 mingus… the id != is going to the order by. Does anybody know a fix?

    Yes, I had the problem, just put the tag in the loop.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘previous_post, next_post’ is closed to new replies.