Jump-to Plugin

download

Download Jump To 1.0

831 bytes - WP 1.5-2.2
Updated March 7, 2009.

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.

Share:
  • Digg
  • del.icio.us
  • Facebook
  • Reddit
  • StumbleUpon

21 Comments

  1. RaynerApe :

    Apr 17, 2005 1:37 am | Reply

    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. markku :

    Apr 17, 2005 9:17 am | Reply

    This is great! This can be very helpful for sites that used paged articles. Now WP can be used for a more CMS-like purpose.

  3. Antonio Rojilla :

    Apr 21, 2005 7:37 am | Reply

    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

  4. Ryan Nutt :

    Jan 11, 2006 10:05 am | Reply

    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--

  5. John( author ) :

    Jan 27, 2006 1:39 am | Reply

    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?

  6. Sean Hyde-Moyer :

    Feb 4, 2006 2:36 pm | Reply

    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".

  7. John( author ) :

    Feb 7, 2006 4:54 am | Reply

    The plugin should work on pages, as well as posts!

  8. Vince Anido :

    Mar 20, 2006 11:57 pm | Reply

    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!

  9. John( author ) :

    Mar 29, 2006 12:32 am | Reply

    Yep, you can call the function directly by putting:

    <?php jumpTo ('') ?>

    anywhere in the loop.

  10. George Roger :

    Jun 14, 2006 6:22 pm | Reply

    I don't understand step 5. How do you add a "custom field."
    Could you show an example?

  11. John( author ) :

    Jun 16, 2006 2:13 am | Reply

    http://codex.wordpress.org/Using_Custom_Fields

  12. India :

    Jun 17, 2006 11:09 pm | Reply

    Same here, how do you add the custom fields?

  13. Volker Zimmermann :

    Sep 29, 2006 5:19 am | Reply

    Hi, just wanted to point out that someone took your plugin and added an options menu etc. I think it is quite useful: http://nonull.com/pmwiki/Plugin/JumpTo?userlang=English . I am having a hard time customizing the looks of it, though...

  14. Erik Schmith :

    Oct 14, 2006 8:08 am | Reply

    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

  15. Dihan :

    Nov 10, 2006 11:05 pm | Reply

    Hi John,

    I'd like to use the PageNav from http://www.lesterchan.net/portfolio/programming.php
    and the Jumpto on my site which is using your UrbanGiraffe2 template.

    The pagenav is not showing up- apparently I need to write some code

    to the footer file, but I would like the page nav to appear on every page.

    Thankyou for the great theme too!

    Dihan

  16. Phi :

    Nov 21, 2006 5:45 pm | Reply

    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!

  17. Elliott :

    Dec 12, 2006 1:42 pm | Reply

    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.

  18. Rob :

    Sep 24, 2007 4:05 pm | Reply

    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?

  19. John( author ) :

    Sep 24, 2007 9:45 pm | Reply

    I'll put the idea down for a future version Rob!

Leave a Reply


XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Home | Main content | Software | Terms & Conditions | Sitemap | John Godley © 2009