I’ve updated the plugin with your github copy without luck.
I did have to finagle the template code but did so in my own plugin. Here’s the code I’ve used to customize the search results.
if ( ! function_exists('is_plugin_active'))
{
require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
}
if (is_plugin_active('instant-search.php'))
{
# Custom Instant Search Suggestions
/**
* Output a filterable jQuery template for rendering post type search suggestions
*
* @return string jQuery template
*/
function wpiss_post_template() {
$template = '
<div class="search-results-style">
<script type="x-tmpl-mustache" id="wpiss-post-template">
<li class="iss-result">
{{#image}}
<img src="{{image}}" width="50" height="50" />
{{/image}}
{{{title}}}
<span class="iss-sub">{{posttype}}</span>
</li>
</script>
</div>';
echo apply_filters( 'wpiss_post_tempalte', $template );
}
add_action( 'wp_footer', 'wpiss_post_template');
/**
* Output a filterable jQuery template for rendering taxonomy search suggestions
*
* @return string jQuery template
*/
function wpiss_taxonomy_template() {
$template = '
<script type="x-tmpl-mustache" id="wpiss-taxonomy-template">
<li class="iss-result">
{{{title}}}
<span class="iss-sub">{{taxonomy}}</div>
</li>
</script>';
echo apply_filters( 'wpiss_taxonomy_template', $template );
}
add_action( 'wp_footer', 'wpiss_taxonomy_template');
}
Do you see anything that might cause an issue?