Title: Multiple Category Selection Widget &#8211; problem with post&#039;s order
Last modified: August 21, 2016

---

# Multiple Category Selection Widget – problem with post's order

 *  [marco.steinhaeuser](https://wordpress.org/support/users/marcosteinhaeuser/)
 * (@marcosteinhaeuser)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/multiple-category-selection-widget-problem-with-posts-order/)
 * Hi everybody,
 * I am using Multiple Category Selection Widget version 3.1.4. Actually I am very
   glad that I finally found a plugin that does what it says, and I could use it
   as a filter for the categories.
 * Alone, it sorts the posts a strange way even when the filter is not active (reset):
   latest posts are not at the top of the page any more. Unfortunately, I couldn’t
   find out how the sorting is done. Only if I de-activate the module again, my 
   posts will appear in the usual order.
 * Already had a look at the adjusted date format and the sorting of the blog posts
   but couldn’t find any reasonable pattern. Does anybody know what is up there?
 * Thanks in advance!
    Marco
 * [http://wordpress.org/plugins/multiple-category-selection-widget/](http://wordpress.org/plugins/multiple-category-selection-widget/)

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

 *  Thread Starter [marco.steinhaeuser](https://wordpress.org/support/users/marcosteinhaeuser/)
 * (@marcosteinhaeuser)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/multiple-category-selection-widget-problem-with-posts-order/#post-4484621)
 * Hi again,
 * alright, it sorts all posts clearly by title in the moment the plugin is switched
   on. In the moment you deactivate the plugin again, the order for the posts will
   be the regular way again (desc. by date). There’s no way to influence this behaviour
   by setting the plugin options.
 * Best
    Marco
 *  [aptharsia](https://wordpress.org/support/users/aptharsia/)
 * (@aptharsia)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/multiple-category-selection-widget-problem-with-posts-order/#post-4484750)
 * It’s been a problem. Installing version 3.1.1 worked for me.
 *  Thread Starter [marco.steinhaeuser](https://wordpress.org/support/users/marcosteinhaeuser/)
 * (@marcosteinhaeuser)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/multiple-category-selection-widget-problem-with-posts-order/#post-4484751)
 * Thanks for your reply.
 * The present version is 3.1.4 and it definitely doesn’t work. In the mean time,
   I helped myself by commenting these lines of mcsw.php so the sorting isn’t controlled
   by the module at all:
 *  if (isset($_SESSION[‘wpmm_title’])) {
    $query->set(‘orderby’, ‘title’); $query-
   >set(‘order’, ‘asc’); }
 *  [aptharsia](https://wordpress.org/support/users/aptharsia/)
 * (@aptharsia)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/multiple-category-selection-widget-problem-with-posts-order/#post-4484771)
 * Thank you marco, that fixed the ordering but when you use the widget, it doesn’t
   display all results, just one of them and no excerpts, one post only.
 *  Thread Starter [marco.steinhaeuser](https://wordpress.org/support/users/marcosteinhaeuser/)
 * (@marcosteinhaeuser)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/multiple-category-selection-widget-problem-with-posts-order/#post-4484773)
 * Hey aptharsia,
 * > that fixed the ordering
 * This is not entirely true. It just fixes the ordering but what I posted is a 
   bl**dy hack and will (hopefully) be overwritten with the next module update. 
   I just de-attached any possible option by the module instead of fixing the bug
   properly.
 * > it doesn’t display all results, just one of them and no excerpts, one post 
   only.
 * You have to categorize all of your posts or at least some more of them to get
   it work. The module just calculates posts categorized in the appropriate category
   😉
 * Cheers!
    Marco
 *  [aptharsia](https://wordpress.org/support/users/aptharsia/)
 * (@aptharsia)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/multiple-category-selection-widget-problem-with-posts-order/#post-4484783)
 * Looks promising but doesn’t allow you to exclude categories. Also, support doesn’t
   appear to be happening with that one either.
 *  [Bard](https://wordpress.org/support/users/dreamwork/)
 * (@dreamwork)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/multiple-category-selection-widget-problem-with-posts-order/#post-4484784)
 * hi, the categories is excludable, you may choose a specific category for the 
   query or leave it blank for all the posts filtering, and the plugin also does“
   and” or “or”(admin setting) for your frontend taxonomies filtering.
 * If you like, you can even hide categories options.
 *  [aptharsia](https://wordpress.org/support/users/aptharsia/)
 * (@aptharsia)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/multiple-category-selection-widget-problem-with-posts-order/#post-4484785)
 * Sorry, still not convinced, based on the comments that plugin has zero support,
   less than this one and not as customizable as this one.
 *  [jedhenson](https://wordpress.org/support/users/jedhenson/)
 * (@jedhenson)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/multiple-category-selection-widget-problem-with-posts-order/#post-4484805)
 * Wow, going back to v3.1.1 did indeed fix the sorting problem for me. Thanks aptharsia!

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

The topic ‘Multiple Category Selection Widget – problem with post's order’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/multiple-category-selection-widget.
   svg)
 * [Multiple Category Selection Widget](https://wordpress.org/plugins/multiple-category-selection-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/multiple-category-selection-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/multiple-category-selection-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/multiple-category-selection-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/multiple-category-selection-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/multiple-category-selection-widget/reviews/)

 * 9 replies
 * 4 participants
 * Last reply from: [jedhenson](https://wordpress.org/support/users/jedhenson/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/multiple-category-selection-widget-problem-with-posts-order/#post-4484805)
 * Status: not resolved