Forums › Forums › Search & Filter Pro › Issue with anchor tag
- This topic has 5 replies, 2 voices, and was last updated 8 years, 4 months ago by Trevor.
-
Anonymous(Private) June 29, 2016 at 3:19 pm #49795
On my search results page, I have an anchor tag which links to the single page, and then a specific point on that page. Code below:
/#tab1″ class=”cta grey two”>View finance information
Code on target page is:
<div id=”tab1″></div>
The problem is that, instead of going to the specified div, I’m taken right to the bottom of the page. I’m convinced this is to do with the Search & Filter Ajax, as if I link to another page that doesn’t pass the search values through, it works no problem. I’ve tried turning off ‘Load results using Ajax’ but that doesn’t make any difference.
Any suggestions would be greatly appreciated!
Thanks.
Trevor(Private) July 1, 2016 at 10:07 am #49981Hi
OK, so we talked and my suggestion was to take a look at the WP4.5 compatible smoothscroll.js script/tutorial I had written and given you a link to (http://ulttest.cdnwebservices.net/onepagedemo/) and that you also need to take a look a custom rewrite rules (putting the code into the theme’s functions.php file).
-
AuthorPosts