WordPress.org

Support

Support » How-To and Troubleshooting » <!–nextpage–> missing in 2.2.2?

<!–nextpage–> missing in 2.2.2?

  • I want to use the <!–nextpage–> tag to split my posts, but not only is the button ‘page’ missing in the quicktag panel, but if I manualy enter it in my post it simply doesn’t work.

    I did some hunting around and discovered that there was a fix for this here:

    http://codex.wordpress.org/FAQ_Troubleshooting

    under the heading, How do I get the Quicktag <!–nextpage–> back?

    Problem is, that fix is for 2.0.x, and things seem to have changed since then. The first part seems to be spot on: ie, uncomment this code in wp-admin/quicktags.js :

    /*
    edButtons[edButtons.length] =
    new edButton(‘ed_next’
    ,’page’
    ,'<!–nextpage–>’
    ,”
    ,’p’
    ,-1
    );
    */

    but the next part describing what to change in

    includes/js/tinymce/plugins/wphelp/editor_plugin.js

    doesn’t make any sense because the file has changed. I went through the steps up to this point, but all that ended up happening was that all my buttons dissapeared. Curiously, when I preview my post, it shows the split working fine. I thought it might be a space issue (why would wordpress want to disable nextpage in the first place?) so I tried to comment out a few other buttons to give it room, but no joy.

    So I’m stuck. And I want <!–nextpage–>. Any help would be appreciated.

Viewing 1 replies (of 1 total)
  • BTW, my index.php file looks like this:

    <?php get_header(); ?>

    <div id=”content”>

    <div id=”contentleft”>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <h1><?php the_title(); ?></h1>
    <p>Posted on <?php the_time(‘F j, Y’); ?> <?php edit_post_link(‘(Edit Post)’, ”, ”); ?>
    Filed Under <?php the_category(‘, ‘) ?></p>
    <?php the_content(__(‘Read more’));?>

    <?php link_pages(‘<p>Pages: ‘, ‘</p>’, ‘number’); ?>

    <div style=”clear:both;”></div>

    <!–
    <?php trackback_rdf(); ?>
    –>

    <?php endwhile; else: ?>

    <php wp_pagebar(array(‘before’=>’pages: ‘)); ?>

    <p><?php _e(‘Sorry, no posts matched your criteria.’); ?></p><?php endif; ?>

    <h3>Comments</h3>
    <?php comments_template(); // Get wp-comments.php template ?>

    </div>

    <?php include(TEMPLATEPATH.”/sidebar.php”);?>

    </div>

    <!– The main column ends –>

    <?php get_footer(); ?>

Viewing 1 replies (of 1 total)
  • The topic ‘<!–nextpage–> missing in 2.2.2?’ is closed to new replies.
Skip to toolbar