Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Position and URL
This topic contains 4 replies, has 2 voices, and was last updated by Ernest Marcinko 7 years, 3 months ago.
- AuthorPosts
- June 8, 2017 at 12:15 pm #13459
Hello,
I have 2 different questions for using the Search Pro Plugin.
The first thing is about positioning. You can see on my website that I have included the search within the main menu.
When you type a search in the filed like “heli” everything looks good. But when you scroll down the site the search results scroll with the site and always “jumps up…”Can you tell me how to fix it or make it better? I only display 3 results at the moment. How can I add a “Show more” buttun if there are more results?
And the second thing is regarding to the URL. When you cklick on a search result it has not the permalink url:
When you click on the first “heli” result it opens:
https://one-million-places.com/reiseberichte/helikopterflug-iguazu-wasserfaelle-puerto-iguazuBut the right URL would be:
https://one-million-places.com/reiseberichte/suedamerika/brasilien/helikopterflug-iguazu-wasserfaelle-puerto-iguazuHow can Search Pro use the permalink?
Michael
June 8, 2017 at 1:53 pm #13466Hi!
Position
The position issue is due to the fact that the search bar is placed within another element, which gets hidden whenever the scrolling begins, but the results list tries to maintain the searches last position. There are two possible solution I would recommend:
1. Change the results layout from ‘hovering’ to block: https://i.imgur.com/dfwh7v7.png
2. ..or try the following option: https://i.imgur.com/DRP22nK.png
I personally recommend trying the 2. first, it may actually work.In case the plugin finds more results it can display a ‘show more’ button, you can enable that here: https://i.imgur.com/otPLW5Q.png
Permalinks
I have visited both links, but both of them work and lead to the same page. The plugin uses the internalget_permalink(..)
WordPress function, which returns the permalinks as configured on the back-end.
Best,
Do you use any custom SEO or any other plugin to change the permalink structure of certain posts by any chance?
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
June 8, 2017 at 2:04 pm #13467I use Yoast SEO. But can this be the reason? I think million of other bloggers use Yoast SEO also…
In my wordpress settings – permalinks I so use “custom permalink structure”
https://one-million-places.com//%category%/%postname%June 8, 2017 at 2:11 pm #13468For the position I have used block now. It´s much better, but there is only a problem wehn you click on “Load more”… because you can´t scoll down to the next results… is there any searchbar to enable?
June 8, 2017 at 3:34 pm #13471Hi,
That plugin is definietly not a problem, we are using it as well. It must be something else.
The items are not visible on the ‘load more’ because the viewport size is probably not changed. Make sure to change that accordingly: https://i.imgur.com/xG13pzh.png
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.