• Hi,

    I am wondering if this is possible. I would like to page split my articles with the <!-nextpage–> feature, so I could have say 4 pages for an article.

    But at the bottom of each page I would like to add a button that says “View articles on Single page” which allows you to click it and ignore the pageing if you wish.

    Kind of like how Reuters.com does it SEE HERE:
    http://www.reuters.com/article/politicsNews/idUSTRE51461R20090205

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jamesbe

    (@jamesbe)

    I had an idea, but I’m not sure how to implement.

    I set an if statement around:
    wp_link_pages(array(‘before’ => ‘<p>Pages: ‘, ‘after’ => ‘</p>’, ‘next_or_number’ => ‘number’));

    in my single.php — so if so if “something” is set then don’t do the wp_link_pages and it will show it all in one page. But by default show it in multiple pages.

    So what I was thinking is if one were to click on a link a variable of some sort would get set (global or session var or whatever) and it would display differently. But I’m not sure how to get that variable set…. maybe I would have to call another script? Any ideas?

    Thread Starter jamesbe

    (@jamesbe)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘<!-nextpage–> all on one page??’ is closed to new replies.