• Resolved Jenst

    (@jenst)


    When the permalinks are set, the url could be something like this…

    /about/page/5/

    I’m writing a plugin and I need to get the page number, as a string (or alike).

    I could use server variables and explode it but if there are a change in the permalink structure I would get an error. Is there a way to get this page number?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Page number string?’ is closed to new replies.