1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How do people add in "NEXT" "PREV" buttons in wordpress?

Discussion in 'Blogging' started by BlackTwitter, Apr 5, 2014.

  1. BlackTwitter

    BlackTwitter Registered Member

    Joined:
    Nov 20, 2013
    Messages:
    78
    Likes Received:
    8
    Hi sites like www.teensdigest.com, www.issued.tv www.somindblasting.com all have articles with multiple pages and text all with a NEXT button leading to the next page of that particular article. I cannot for the life of me figure a way to do this in wordpress. does anyone know ? i would be very very grateful if someone could help :) thanks guys
     
  2. sacredmarketing

    sacredmarketing Junior Member

    Joined:
    Jul 2, 2013
    Messages:
    191
    Likes Received:
    45
    Home Page:
    It's a custom coding from the looks of it. You would have to find a plugin that does it or just copy the code and paste it into your theme source code.
     
  3. dionysus

    dionysus Junior Member

    Joined:
    Dec 15, 2008
    Messages:
    104
    Likes Received:
    31
    Everything you need to know is right here including array arguments...

    Code:
    http://codex.wordpress.org/Function_Reference/wp_link_pages
     
  4. Deluxe20

    Deluxe20 Newbie

    Joined:
    Dec 2, 2012
    Messages:
    31
    Likes Received:
    15
    I'm trying to do the same thing. Is there a plugin that does this?
     
  5. dionysus

    dionysus Junior Member

    Joined:
    Dec 15, 2008
    Messages:
    104
    Likes Received:
    31
    It's already setup in wordpress. You don't need a plugin. If you want to change the way it lays out multiple page posts, then you'd just modify the array and place it in functions.php instead of a plugin

    use
    Code:
    <!--nextpage-->
    after each picture in your post...if you want it to show only next /prev buttons, then you would need to modify the arguments in the array which you could place in functions.php in your theme.

    You can find out more info by reading this page
    Code:
    http://codex.wordpress.org/Function_Reference/wp_link_pages
    You can extend an article out many pages using this feature of WordPress
     
    Last edited: Apr 6, 2014