ifacethoughts

page

This global variable stores the requested page number of a multipage post that has to be shown. It is set in the function setup_postdata($post) defined in [wordpress root folder]/wp-includes/functions.php. The variable page in the Wordpress request (query string) is used to set this global variable. The multipage content of the post is stored in the global variable pages.

page does not indicate the page number of a paginated archive, it is used only for a multipage post.

Plugin and theme developers can use this variable to identify the requested page number of the current post being displayed.

Back to full list of global variables.

Technorati tags: , , ,

Discussion [Participate or Link]

  1. Abhijit Nadgouda @ iface » Blog Archive » Wordpress Global Variables said:

    [...] page [...]

  2. Abhijit Nadgouda @ iface » Blog Archive » pages said:

    [...] page [...]

  3. szarkoz said:

    You might want to read http://yafll.com/articles/computers_and_internet/966.html

Say your thought!

Who are you?

If you want to use HTML you can use these tags: <a>, <em>, <strong>, <abbr>, <code>, <blockquote>. Closing the tags will be appreciated as this site uses valid XHTML.

freshthoughts

contactme

Abhijit Nadgouda
iface Consulting
India
+91 9819820312
Y!: anadgouda
GTalk: anadgouda@gmail.com
MSN: anadgouda@hotmail.com
Skype: anadgouda
My bookmarks

currentproject

Complete Wellbeing

badgesand...

This is the weblog of Abhijit Nadgouda where he writes down his thoughts on software development and related topics. You are invited to subscribe to the feed to stay updated or check out more subscription options. Or you can choose to browse by one of the topics.

Twitter - #mumbai - The city has started working today. The fears are still there, but the spirit will help in fighting it.