WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. afreyer
    Member
    Posted 1 year ago #

    hi,

    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.

    regards
    andrej

    http://wordpress.org/extend/plugins/wp-query-powered-adjacent-post-link/

  2. Ryan Burnette
    Member
    Plugin Author

    Posted 10 months 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

Tags

No tags yet.