SearchWP support
-
This plugin doesn’t appear to support SearchWP queries – https://searchwp.com/documentation/classes/searchwp-query/
At the moment we’re forking this plugin, and adding the following case to the switch in
get_pagination_args():case 'swp':
// SWP_Query
$posts_per_page = intval( $query->posts_per_page );
$paged = max( 1, absint( $query->paged ) );
$total_pages = max( 1, absint( $query->max_num_pages ) );
break;Might it be possible to add this, so we don’t have to manually update our forked plugin? Or maybe even add a hook here to support custom query types (like SearchWP)?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘SearchWP support’ is closed to new replies.