Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Unwanted click behaviour
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 4 years, 9 months ago.
- AuthorPosts
- February 13, 2019 at 1:30 pm #21093
Dear support team,
Your plugin is amazing, it has got so many detailed options. Congratulations on the amazing job. It is really impressive.
One big issue I am encountering from the beginning is that I create my search box. Insert it in my home page using the shortcode.
And when I navigate to my home page and click on it (as the very first action before actually entering a search query) it opens a link in the same tab. It interprets my first click as an hyperlink and it opens another one of my pages (the shop page) so I am stuck here.
I created a second search box to use in another page. In the other page the behaviour does not happen. But if I use the second search box in the home page, the behaviour replicates.
Can you help me please?
Many thanks in advace for your support,
Kind regatds,
JCFebruary 13, 2019 at 1:39 pm #21095Hi JC,
Thank you very much for your kind words, I really appreciate it!
I think I see the problem, it appears, that the plugin shortcode is placed within a link element/block/button of some sort, so it is basically acting a link to the shop page. See this screenshot from the browser console: https://i.imgur.com/ai2aL1g.png
Make sure to check the source HTML of that block, maybe there is an unclosed hyperlink, or there is a custom URL set to that block via the editor. Correcting that will fix the issue immediately 🙂
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
February 13, 2019 at 2:15 pm #21096Hi Ernest,
Thank you for pointing me in the right direction.
There was an unclosed tag in my code.
Many thanks,
-
This reply was modified 4 years, 9 months ago by
jc.
February 13, 2019 at 3:09 pm #21098You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
-
This reply was modified 4 years, 9 months ago by
- AuthorPosts
You must be logged in to reply to this topic.