Sorting Problem with the Web 2.0 Directory Plugin
-
We use the Web 2.0 Directory Plugin in our wordpress site to display a business directory. The plugin has it’s own sorting options whitch are somehow overwritten when the Post Types Order Plugin is active.
I manualy solved it by modifying the posts_orderby function inside the \include\class.cpto.php file, adding the lines:
//ignore the w2dc if (isset($query->query_vars['post_type']) == "w2dc_listing") return $orderBy;As this fix will require me to re-add the above lines every time the Post Types Order Plugin is updated, can you suggest a more elegant solution?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Sorting Problem with the Web 2.0 Directory Plugin’ is closed to new replies.