Support » Fixing WordPress » Display split-pages on one page

  • Hi,

    I was searching a way to use the ‘<!–nextpage–>’ tag for spliting a page into parts (by the way I use the useful “NextPage Buttons” plug-in).

    I did some search without finding a solution, so I built one myself, here’s my solution, please feel free to correct or improve it :

    if ( have_posts() )  {
      while ( have_posts() ) {
        //$post->post_content could be use but no content filtering will  be applied, breaking a lot of things
        foreach ($pages as $nb => $section) {
          echo apply_filters('the_content',$section);

    PS : some front-end plug-ins will not work properly : “front-end-editor”

  • The topic ‘Display split-pages on one page’ is closed to new replies.