Title: [Plugin: Custom Content Type Manager] Orderby error
Last modified: August 20, 2016

---

# [Plugin: Custom Content Type Manager] Orderby error

 *  Resolved [Alice Brosey](https://wordpress.org/support/users/ambrosey/)
 * (@ambrosey)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-custom-content-type-manager-orderby-error/)
 * I’ve read some other threads on this topic, but I’m not seeing the same error,
   exactly.
 * I have the plugin running for a client, and it works just fine, but although 
   the shortcode in use is
    [summarize-posts post_type=”members” meta_key=”member_type”
   meta_value=”‘.$memberty.'” orderby=”post_title” order=”ASC”] (where it’s being
   run through a PHP function, clearly) it won’t actually orderby post_title. In
   fact, it’s ordering by oldest to newest post.
 * There are no other plugins that I could imagine interfering at all, so I’m pretty
   confused how to change the ordering.
 * I tried overriding the defaults by using a post_selector.php file with the following
   contents:
    <?php
 * CCTM::$post_selector[‘search_columns’] = array(‘post_title’, ‘post_content’);
   
   CCTM::$post_selector[‘post_type’] = ‘attachment’; CCTM::$post_selector[‘post_mime_type’]
   = ‘image’; CCTM::$post_selector[‘post_status’] = array(‘publish’,’inherit’); 
   CCTM::$post_selector[‘orderby’] = ‘post_title’; CCTM::$post_selector[‘order’]
   = ‘ASC’; CCTM::$post_selector[‘limit’] = 10; CCTM::$post_selector[‘paginate’]
   = 1;
 * ?>
 * [http://wordpress.org/extend/plugins/custom-content-type-manager/](http://wordpress.org/extend/plugins/custom-content-type-manager/)

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

 *  Plugin Contributor [fireproofsocks](https://wordpress.org/support/users/fireproofsocks/)
 * (@fireproofsocks)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-custom-content-type-manager-orderby-error/#post-2618162)
 * Please, ALWAYS include your version here. Help me help you. Thanks.
 * In working through the functionality of the GetPostsQuery class (the class that
   drives the querying and shortcodes etc) I found some bugs that are being fixed
   on the dev branch, so you may want to download the latest dev version to see 
   if that rectifies the problem:
 * [http://downloads.wordpress.org/plugin/custom-content-type-manager.zip](http://downloads.wordpress.org/plugin/custom-content-type-manager.zip)
 *  Plugin Contributor [fireproofsocks](https://wordpress.org/support/users/fireproofsocks/)
 * (@fireproofsocks)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-custom-content-type-manager-orderby-error/#post-2618164)
 *  Thread Starter [Alice Brosey](https://wordpress.org/support/users/ambrosey/)
 * (@ambrosey)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-custom-content-type-manager-orderby-error/#post-2618346)
 * Thank you thank you very much. I’m sorry for not being specific, it was the latest
   version of WP and the latest version of your plugin that was available at the
   moment I posted, through the plugin repository.
 * I downloaded that .zip and it did indeed fix the problem. Thank you very much
   for the quick response.
 *  Plugin Contributor [fireproofsocks](https://wordpress.org/support/users/fireproofsocks/)
 * (@fireproofsocks)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-custom-content-type-manager-orderby-error/#post-2618347)
 * Ok, glad that helped. It’s always best to list the _exact_ version number. Someone
   reading this post in a week or a month will have no idea what the “most recent”
   version of WordPress or the plugin is.

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

The topic ‘[Plugin: Custom Content Type Manager] Orderby error’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-content-type-manager_c9c790.
   svg)
 * [Custom Content Type Manager](https://wordpress.org/plugins/custom-content-type-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-content-type-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-content-type-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-content-type-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-content-type-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-content-type-manager/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [fireproofsocks](https://wordpress.org/support/users/fireproofsocks/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-custom-content-type-manager-orderby-error/#post-2618347)
 * Status: resolved