WordPress.org

Support

Support » Alpha/Beta » $numpages NULL

$numpages NULL

  • 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

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘$numpages NULL’ is closed to new replies.
Skip to toolbar