• OK, according to the info at
    http://codex.wordpress.org/Styling_Page-Links
    I should be able to use <!-- nextpage --> to create actual pagination of an overly long post.

    I used a simple <?php wp_link_pages(); ?> after the_exerpt/the_content is printed (as a side note, the <?php link_pages('<p>Pages: ', '</p>', 'next', ' &raquo;', '&laquo; '); ?> never worked but since the wp_link_pages does, that can be skipped for the moment unless it’s useful information).

    What happens now is I get the Pages: 1 2 3 4 (as you can see by looking at http://www.digitalramble.com at the “flickr slideshow” post. But, if you click on any of these pages, it comes back with a page not found.

    I’m stumped on this one. I’m guessing it has to do with how my permalinks might be constructed? I’ve set them to custom with the following fields:
    /%year%/%monthnum%/%day%/%hour%%minute%
    plus under optional, i chose /tags for the category base.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Apparently earlier versions of Worpress had a button for this called Page. There’s some out of date info (points to the wrong files for version 2 installations) on how to add this function back in to the write a post pages (works when you don’t use the visual rich editor only though).

    Find quicktags.js

    It’s under

    \wp-includes\js\

    At around line 134 you see-


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

    change to-

    edButtons[edButtons.length] =
    new edButton('ed_next'
    ,'page'
    ,'<!--nextpage-->'
    ,''
    ,'p'
    ,-1
    );

    save and upload.

    now when creating a post you have a Page button, push it and it adds-

    <!–nextpage–>

    to the post, which is where the page will split. Alternatively ignore the above and just type <!–nextpage–> anywhere you want the split 🙂

    Not what you asked for, but I have an ulterior motive 🙂

    I’m trying to get pagination added automatically to a blog, say every 10,000 characters, but the two plugins for this-

    Page Post (http://blog.coolcode.cn/?p=27)
    This plugin allows long post to be split across multiple pages.

    Page Post 2 (http://www.coolcode.cn/?p=115)
    This plugin allows long post to be split across multiple pages and switch the post page without refresh the whole page.

    Don’t appear to work, documentation is also not in English.

    I was hoping since you have an interest in this and appear to understand plugins a little (looked at your site) you might be able to get this working and will hopefully solve both our problems.

    I’ve got it working in the same way you are trying at a test site here http://www.mommysvillage.com/ (top post uses it).

    My settings are-

    /%postname%

    and /- for cat

    I’ve tried your URL structure /%year%/%monthnum%/%day%/%hour%%minute% and it doesn’t work, the links to page 2 etc… are no longer present. Ah, I know why, it’s because it lacks %postname% you need it for pagination to work (didn’t check why).

    This works /%year%/%monthnum%/%day%/%hour%%minute%/%postname%

    As a side note I’m an SEO consultant and if you want search engines to rank your posts high for relevant search terms you are much better of using %postname% as part of your URL structure. Personally I use /%postname% or /%postname%.html since the date doesn’t help with search engine rankings. You can read about the basic concept here http ://www. seo-gold.com/tutorial/domain-name-choice.html domain name and file names are basically treated the same way by Google.

    WordPress from an SEO perspective is very, very good. I looked at several CMS packages and WordPress is the best by far for search engine friendliness.

    Yeah, I agree – just update your permalink format. Get rid of the extra date junk, it really isn’t necessary. 😉

    And, from an SEO perspective, wouldn’t you want each page to be a physical URL entity, and not just a javascript-tricked pagebreak/nav?

    I wrote a plugin for CHAITGEAR that allows me to give names to subsequent pages using the format:
    <!--nextpage:This is a subpage title-->

    Also then allows me to create human-nice ‘table of contents’ sidebar blocks for single post pages. 😉

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘getting the rest of the pages…’ is closed to new replies.