The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Q2W3 Post Order
[resolved] Private posts are not listed (4 posts)

  1. Felipe de Castro
    Posted 3 years ago #

    Hi, i saw that when i choose to order posts in a custom taxonomy it doesn't show me the private posts to order.

    For example, in this site: novadfl.com.br/novo-site i have the post-type "Produtos" with a custom taxonomy "categoria de produtos" and there are some private posts in this post-type. When i choose to order the term "cirurgia" at "categoria de produtos" custom taxonomy it only lists the posts that are not private so the private posts comes after those and can't be ordered.

    Is there a way to fix that?



  2. Felipe de Castro
    Posted 3 years ago #

    So i've found a solution.

    You only have to replace the code

    AND posts.post_status = 'publish'


    AND (posts.post_status = 'publish' OR post_status = 'private')

    It happens at lines 1085, 1092, 1176 and 1181.

  3. Felipe de Castro
    Posted 3 years ago #

    It's resolved!

  4. Max Bond
    Plugin Author

    Posted 3 years ago #

    Thank you!
    I added your solution in ver. 1.2.6

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Q2W3 Post Order
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.