@mrcarllister,
You did not pass the $arg in the wp_query class.
To use it, eg:
add_filter('ajax_wpqsf_reoutput','wpqsf_reoutput','',2);
function ajax_result($result, $arg ){
$apiclass = new ajaxwpqsfclass();
// The Query
$query = new WP_Query( $arg );
$html ='';
// The Loop
if ( $query->have_posts() ) {
$html .= '<h1>'.__('Search Results :', 'AjWPQSF' ).'</h1>';
while ( $query->have_posts() ) { $query->the_post();
//here where you customize your layout $html .= '<article><header class="entry-header">'.get_the_post_thumbnail().'';
$html .= '<h1 class="entry-title"><a href="'.get_permalink().'" rel="bookmark">'.get_the_title().'</a></h1>';
$html .= '</header>';
$html .= '<div class="entry-summary">'.get_the_excerpt().'</div></article>';
}
$html .= $apiclass->ajax_pagination($pagenumber,$query->max_num_pages, 4, $id);
} else {
$html .= __( 'Nothing Found', 'AjWPQSF' );
}
/* Restore original Post Data */
wp_reset_postdata();
return $html;
}