Hi Mike,
The problem has been fixed and will be reflected in next release of Custom Post Types plugin.
You can put following code at the end of file plugins/geodir_custom_posts/geodir_cp_hooks_actions.php to get reflected fix from right now
function geodir_check_listing_pinpoint() {
global $wp_query;
if ( !empty( $wp_query ) && $wp_query->is_main_query() ) {
if ( ! empty( $_REQUEST['geodir_search'] ) && ! empty( $_REQUEST['stype'] ) ) {
$post_type = sanitize_text_field( $_REQUEST['stype'] );
} else {
$post_type = get_query_var( 'post_type' );
}
if ( $post_type && geodir_cpt_no_location( $post_type ) ) {
remove_action( 'geodir_listing_after_pinpoint', 'geodir_output_pinpoint_html_listings', 1, 2 );
}
}
}
add_action( 'template_redirect', 'geodir_check_listing_pinpoint', 10 );
Thanks,
Kiran