Hello, I added the HTML to the wpsl_listing_template but it doesn’t replace the div wpsl-stores. All it does is add another entry under the <ul>. How can I get the listing to replace the original div. Here is the code I have.
add_filter( ‘wpsl_listing_template’, ‘custom_listing_template’ );
function custom_listing_template() {
global $wpsl, $wpsl_settings;
$listing_template = “\t\t\t”. ‘<div id=”wpsl-stores” style=”height: 100px; width: 500px; overflow: scroll;” tabindex=”0″>’ . “\r\n”;
return $listing_template;
}
Any guidance is greatly appreciated.
Thanks,
Tony