The multipage global variable represents whether the current Wordpress post or page to be displayed is multi-paged or not. It is set in the function setup_postdata($post) defined in [wordpress root folder]/wp-includes/functions.php. A post is broken in multiple pages wherever <!--nextpage--> is inserted inside the post. pages global variable is used to hold the content of multiple pages of the post.
Theme developers can use the function wp_link_pages($args=”), in [wordpress root folder]/wp-includes/template-functions/post.php, in the Wordpress loop to display links to the next and previous pages of the post.
Back to full list of global variables.
Technorati tags: multipage, wp_link_pages, multipage post

April 25th, 2006 at 10:54 pm
[...] $multipage [...]
April 27th, 2006 at 3:27 pm
[...] multipage [...]
May 24th, 2006 at 2:32 pm
[...] Wordpress uses numpages global variable to store the number of pages in a multipage post. It is set in the function setup_postdata($post) defined in [wordpress root folder]/wp-includes/functions.php. The split pages are stored in the global variable pages. [...]
November 24th, 2006 at 2:17 pm
[...] Post and Page Variables: wp_query, posts, more, posts_per_page, max_num_pages, numpages, page, pages, multipage, paged, post, id, authordata, post_cache, category_cache, and post_meta_cache [...]