5 replies
  • WEB DESIGN
  • |
I want to add a next post and previous post link, however I cant seem to find out how to do it. I have looked at the codex and followed the instructions there but it dosn't work. Is there not a plugin that can do this?
#wordpress
  • Profile picture of the author ALicenseToCode
    Originally Posted by flamewave View Post

    I want to add a next post and previous post link, however I cant seem to find out how to do it. I have looked at the codex and followed the instructions there but it dosn't work. Is there not a plugin that can do this?
    The instructions on this page are correct: Function Reference/next post link « WordPress Codex If you read them you might have been confused about how exactly to implement the php on your site. Their function has a lot of arguments (The things that most of the page is talking about).

    If you go onto your single.php you can just use the codes like this and it will automatically generate the exact links you're looking for.

    Code:
    <?php next_post_link(); ?> 
     <?php previous_post_link(); ?>
    {{ DiscussionBoard.errors[6593725].message }}
  • Profile picture of the author copilu0
    This can depend on the theme that you are using and what changes did you already made in the code.

    What you see on Wordpress Codex is working ok but like I said it can be different from a theme to another.
    {{ DiscussionBoard.errors[6595562].message }}
  • Profile picture of the author flamewave
    Im using an ibuildr theme and I am having trouble.

    Where abouts on the .php page*whatever it is, should I place it, after content?
    Signature

    Messenger Chatbot Marketing Systems - https://m.me/jaygriggschatbotbuilder

    {{ DiscussionBoard.errors[6595833].message }}
  • Profile picture of the author jaasmit
    You can design a site easily using wordpress. And also can make changes that you want to change. You need some programming knowledge.
    {{ DiscussionBoard.errors[6596634].message }}
  • Profile picture of the author flamewave
    Thanks, I have built many a site using WP, just never had to initiate a internal nav menu before and this is a first, and I am having issues.
    Signature

    Messenger Chatbot Marketing Systems - https://m.me/jaygriggschatbotbuilder

    {{ DiscussionBoard.errors[6613839].message }}

Trending Topics