Ambrosite Next/Previous Post Link Plus
No next or previous posts? (2 posts)

  1. Aaron
    Posted 2 years ago #


    Ive purchased a custom theme which uses your plugin. Needless to say, i need to edit it to suit my purpose and my purpose is to direct the user to one spesific url only (on this example,its actually the index page). So in other words, users will only be directed to index.

    Ive tried to alter the code in function php but it didnt result in anything.

    Ive tried to fail your plugin by deleting the next and previous values, so it would give 404 which i assumed that i can redirect through htaccess.

    Lets just say, i learned the hard way that you cant redirect a page thats not loaded but rather called through ajax.

    Im really stuck and need this tiny bit of help. So any suggestion would greatly be apriciated.

    Thank you.


  2. ambrosite
    Plugin Author

    Posted 2 years ago #

    I don't quite understand -- are you saying that you do not want to ever display next and previous links, only a link to the index page? In that case, edit the single post template, delete the call to next_post_link_plus and replace it with a hard coded link to the index page.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Ambrosite Next/Previous Post Link Plus
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.