WP_Query Powered Adjacent Post Link
[resolved] get error message (2 posts)

  1. afreyer
    Posted 3 years ago #


    thank you for this plugin - i ve searched for this option, because previous_next_link only shows listed elements by chronical sort.

    i tried this plugin but i got on most of items the error message "wpqpapl:Error:4".
    i tried inside and outside of the loop. some items worked, some not.

    please, could you give me another example for using this? maybe a complete loop with wp_query function?
    thank you.



  2. Ryan Burnette
    Plugin Author

    Posted 3 years ago #

    Error 4 means that the plugin never found any adjacent posts, but without an example of your code I can't say why it never found anything. The WP_Query arguments have not have been formatted properly.

    Since writing this plugin I realized that using WP_Query for this purpose alters the main query and can cause problems with many themes.

    I'm going to release a better version of this plugin one day, for now I'd suggest looking for another solution until a new plugin is released.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.