[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:
<?phpCCTM::$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;?>
https://www.ads-software.com/extend/plugins/custom-content-type-manager/
- The topic ‘[Plugin: Custom Content Type Manager] Orderby error’ is closed to new replies.