WordPress.org

Ready to get started?Download WordPress

Forums

$numpages NULL (2 posts)

  1. Jack Reichert
    Member
    Posted 4 years ago #

    Has the global variable $numpages been discontinued in 3.0? I'm trying to use it with the latest build and it keeps coming up as NULL...

    I'm declaring it global before I use it. Any ideas what might be causing this?

    Thanks

  2. Jack Reichert
    Member
    Posted 4 years ago #

    It hasn't been discontinued. Even thought I declared the variable as global it didn't wouldn't work. But inside the loop it's still functional. I guess it's not a global function anymore?

    To work around the problem I moved my conditions into the loop.

Topic Closed

This topic has been closed to new replies.

About this Topic