Title: [Plugin: Post Types Order] Affecting popular post widget
Last modified: August 20, 2016

---

# [Plugin: Post Types Order] Affecting popular post widget

 *  Resolved [gavin27](https://wordpress.org/support/users/gavin27/)
 * (@gavin27)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-post-types-order-affecting-popular-post-widget/)
 * Hi I have tried reading through this support board but I dont think its addressed.
 * I installed this widget and it works great apart from 1 small problem it is affecting
   my popular post widget.
 * this widget listed my posts with the most comments but once this was installed
   it start listing posts with no comments. Does anyone have any idea how I would
   correct this?
 * I have removed the widget until I can get a solution.
 * [filmscope.net](http://filmscope.net)
 * thanks
 * [http://wordpress.org/extend/plugins/post-types-order/](http://wordpress.org/extend/plugins/post-types-order/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Maya](https://wordpress.org/support/users/tdgu/)
 * (@tdgu)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-post-types-order-affecting-popular-post-widget/#post-3121089)
 * You can try to turn off the autosort and use the **‘orderby’ => ‘menu_order’**
   within queries where need the custom order, as shown in the plugin options page.
 *  Thread Starter [gavin27](https://wordpress.org/support/users/gavin27/)
 * (@gavin27)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-post-types-order-affecting-popular-post-widget/#post-3121101)
 * Thanks for the replay, but I am not sure what you mean do I have to edit it in
   the Plugin – options.php
 * <pre class=”example”>
    $args = array( ‘post_type’ => ‘feature’, ‘orderby’ => ‘
   menu_order’, ‘order’ => ‘DESC’ );
 * or do I need to do something else??
    thanks and sry for being so stupid…
 *  Plugin Author [Maya](https://wordpress.org/support/users/tdgu/)
 * (@tdgu)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-post-types-order-affecting-popular-post-widget/#post-3121102)
 * Sorry i didn’t mean that, you should use the example within the plugin Options
   page and use a similar code within your theme.
    Only the Advanced Post Types 
   Order contain an additional query parameter ‘force_no_custom_order’ which allow
   to exclude the custom order for a certain query when the Autosort is On, see 
   [this page](http://www.nsp-code.com/advanced-post-types-order-api/sample-usage/)
   for more details. Hope it make sense.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Post Types Order] Affecting popular post widget’ is closed to
new replies.

 * ![](https://ps.w.org/post-types-order/assets/icon-128x128.png?rev=1226428)
 * [Post Types Order](https://wordpress.org/plugins/post-types-order/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-types-order/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-types-order/)
 * [Active Topics](https://wordpress.org/support/plugin/post-types-order/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-types-order/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-types-order/reviews/)

## Tags

 * [post order](https://wordpress.org/support/topic-tag/post-order/)

 * 3 replies
 * 2 participants
 * Last reply from: [Maya](https://wordpress.org/support/users/tdgu/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-post-types-order-affecting-popular-post-widget/#post-3121102)
 * Status: resolved