Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Google like double link › Reply To: Google like double link
Hi!
I think there are two possible approaches in this case:
1. There are two filters executed right before and after the ‘show more’ link is printed to the page: asp_layout_before_showmore, asp_layout_after_showmore
You can use these hooks to append additional HTML before/after the show more results link, something like:
[php]add_action(‘asp_layout_after_showmore’, ‘my_asp_layout_after_showmore’, 10, 1);
function my_asp_layout_after_showmore($search_id) {
echo ‘<span>My HTML code here</span>’;
}[/php]
2. (not recommended) Directly editing the corresponding template file. In this case, you are looking for the wp-content/plugins/ajax-search-pro/views/results/asp.shortcode.results.php file. This however will not be a permanent change, as upon plugin update this will be overwritten.
In both cases of course you will need additional custom CSS as well, but that depends on the HTML structure you choose. Let me know if you need help with that.