07/06/2016 at 11:43 am
#381755
Keymaster
@ bebe
Sorry, but there is no way to override it. The extension alters the database query at a low level to enforce the order. The only way I can think of attempting this is to remove the filter which alters the query.
Try this:
Install the Code Snippets plugin.
Add a new snippet with the following code:
add_filter( 'cn_entry_query_clauses', 'cn_remove_custom_entry_order_on_page', 9 );
function cn_remove_custom_entry_order_on_page( $clauses ) {
if ( 7938 == get_queried_object_id() ) {
remove_filter( 'cn_entry_query_clauses', array( 'Connections_Custom_Entry_Order', 'queryClauses' ) );
}
return $clauses;
}
Save and Activate this snippet, selecting the Only run on site front-end option.
This should do the trick, but keep in mind that this will affect every Connections instance on the same page, ie. widgets.
Hope that helps!
