Jump-to

So I had another occurrence of itchy fingers, and decided I really wanted some sort of drop-down contents box at the bottom of multi-page posts. It turned out to be a lot easier than I was expecting, and took about 20 minutes to complete. Kudos to WordPress!

Instructions are simple:

  1. Download jumpto.zip
  2. Unzip
  3. Copy to the /wp-admin/plugins directory)
  4. Activate the plugin
  5. In a post where you want a jump-to box, add a custom field called ‘jumpto’, and set the value to the following format:
    1=Page title 1
    2=Page title 2
    :
    x=Page title x

    Naturally you should change ‘Page title n‘ to whatever you want the description of that page to be, and each entry is separated by pressing return.

You can find full details of installing a plugin on the plugin installation page.

Note that the plugin will not detect invalid pages and is manual for now. The jumpto box will only appear on the single post screen.

23 thoughts on “Jump-to”

  1. Once again, users have to visit this page to learn and remember how to use your plugin. 🙂 How about adding information about the required keyword and format to the description of the plugin, shown in the admin panel?

  2. Nice! I was looking for something like this… Thanks! 🙂

    Just one question: is it possible to add the page title to the title tag? So your pages have a title like this:

    Page 1: UrbanGiraffe » Jump-to Plugin
    Page 2: UrbanGiraffe » Jump-to Plugin » Do you like a good demo?
    Page 3: UrbanGiraffe » Jump-to Plugin » Probably I do

  3. John –
    Just wanted to say thank you for a great plugin. I’ve got it going on a couple of my sites, and it really improves the ‘1,2,3,4’ links that WP puts by default. If you could pull off Antonio’s suggestion about changing page title based on page name, it would be outstanding.

    Couple of questions (of course 🙂 )

    1 – How difficult would it be to have a list of pages rather than a select box? Eg:
    Introduction
    Some stuff
    Some more stuff
    Conclusion

    I suppose I could go through your code and figure it out, I just thought of it as I was writing the thank you.

    2 – What about putting the page titles in the pagebreak tag itself so we wouldn’t have to remember the syntax in the extra tags fields? something like –pagebreak=Conclusion–

  4. Thanks Ryan, I’ll have a look at those suggestions when I get chance. I suspect there may be a nicer way to integrate this with the better support for plugins in WordPress 2.0. What do you mean by a list of pages – a list of links, like the ones in the sidebar?

  5. Hi John,

    I can’t speak for Ryan, but I think he want’s what I am also looking for, the ability to make multi-page “pages” in addition to multi-page “posts.”

    I’m just in the process of moving my old web-presence over to WP, and I have a lot of tutorials that run 3-10 pages long. It would be nice to have a navigation tool that would manage these multi-page “pages”.

  6. Love this plugin, and I’m really excited to start using it.

    One question though: How tough would it be to place the navigation drop-down somewhere else? IE: have a call that allows placement anywhere in the loop.

    I’d love to be able to place it at the top of each page too.

    Thanks so much!

  7. Hi John,

    Just set up my first WordPress site (2.0.4) and installed your plugin. Very easy to set up and looks good on the page, however I do have a major problem. I’m using numerical permalinks, so for example I have a post id#13 and am using the nextpage tags to split it into 3 sections. WP displays the numbers at the bottom of the post and they work fine, but they link to the directories (just listing the relevent parts) /13/1, /13/2, and /13/1. The main post page you accessb before using the page number links is /13.

    But the Jumpto is trying to go to /131, /132, and /133 and so of course fails.

    Any suggestions on how to modify the plug in to match my permalink structure?

    Thanks!

    Erik Schmith

  8. Thanks for making such a great plugin! I ran into one problem with the plugin so far. If I use the more option for a post, the pages 1 2 3 4 selection shows up under the “read more”, how can I make sure the pages 1234 only show up on the post page itself and not on the main page. Thanks!

  9. What I want to do on my blog, is every few hours take the oldest post and move it to the
    front of the queue, all automatically. Anyone know if there is a plugin that can do this or
    a simple way to set up another plugin to do this (use my own feed perhaps)?
    Thanks.

  10. Could your plugin be extended to work with pages? For instance, in most theme headers, there’s a page list. I’d love to have a js styled dropdown that shows child pages. Possible?

Leave a Reply