WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Related Posts
WRP plugin causes sort order to break in template (1 post)

  1. spuniun
    Member
    Posted 1 year ago #

    We installed WRP plugin in our staging environment to test a new sidebar module providing related post listings in a custom post type section.
    The section gateway and blog templates use a custom post order query:
    query_posts('post_type=newsviews&news-cats='.$slug.'&meta_key=sub_featured_article&meta_value=yes&post_status=publish&orderby=menu_order&order=ASC&posts_per_page=-1');
    Which sorts the posts by our custom sort order.

    After enabling the plugin, this sort order no longer works and I cannot even determine what the sort of the above query is; appears to be largely random as it's not by our menu order or by date and changing menu order or date has no effect on the new sorting.

    This all occurs prior to actually adding the related posts code to our template, merely activating the plugin causes this flaw.

    http://wordpress.org/extend/plugins/wordpress-23-related-posts-plugin/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic