- January 24, 2022 at 1:41 pm #36369
I have uploaded a whole book, and it seems to work so thats good. Very happy about that, only when I search and I get my results like here: see search
You see 4 results , but I cant click on them to open them . Thats really a big thing, is this due to this search function ?
Offcourse it would be nice to can click on the result (the PDF) and be redirected to the PDF in stead of this page:
Thank you very much in advanceJanuary 24, 2022 at 1:43 pm #36370
When I click on one of the result like:
Then this is my expected result when clicking: https://docs.viscodiesel.com/wp-content/uploads/2022/01/image00009.pdf
January 25, 2022 at 10:01 am #36379
- This reply was modified 3 months, 3 weeks ago by vis71.
I assume you mean the links on the result page: https://i.imgur.com/7BHB5WK.png
Well, the plugin can not affect what the final URLs will be in that case. I mean it tries to force the same URL via code, but the theme output has the final say. In most cases it works fine, but if the URLs are printed via a custom method, then it may not work unfortunately.
If you have access to the theme code and can change the part where the URLs are printed, you can use the plugin theme API.
Where the link address is printed, this code can try to request the original URL from ajax search pro:
<a href='<?php echo the_asp_result_field('link'); ?>'>Result URL</a>
If you like my products, don't forget to rate them on codecanyon :)
You must be logged in to reply to this topic.