Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Author not shown everytime
This topic contains 8 replies, has 2 voices, and was last updated by clmsvie10 3 years ago.
- AuthorPosts
- May 12, 2020 at 2:50 pm #27264
Hi,
your plugin is amazing! We managed to make everything work but have one small issue:
We defined the “Advanced Description Field (default: {descriptionfield})” to print the author, the categories and the “location_sate”:
<span class=”author”>{__author} |</span> {_taxonomy_category count=2 separator=’ | ‘} [ | {location_state count=2 seperator=’ | ‘}]
INFO: the following problem only occurs for “posts” in the ajax live preview. We changed the title to “NEUIGKEITEN & BEITRÄGE”
1) When you search for something on our website, eg for “wir“, you see one result with only the categories listed.
2) When you delete the entered search term and scroll to the bottom, you will see the same post as a suggestion, this time with the author listed.Why is it, that the author only shows up if you do not enter a search term (for “shops”/”Partner” we hide the author via CSS but for “NEUIGKEITEN & BEITRÄGE” it should show up. It’s not even inside the HTML so the issue is not CSS related).
Thanks in advance!
Kind regards
ClemensMay 12, 2020 at 3:26 pm #27272Hi,
This looks like a yet unknown bug, I was able to identify it on our test servers as well. I will make sure to resolve this in the upcoming release.
If you want, you can add temporary FTP access, and I will patch it for you.
Alternatively, you can do it by yourself as well:
Best,
(before you start, please make sure to heva a back-up, in case anything goes wrong)
1. Open up the wp-content\plugins\ajax-search-pro\includes\classes\search\class-asp-search-cpt.php file on your web server via FTP
2. Replace it’s contents with this
3. Save, and it should work
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
May 12, 2020 at 8:35 pm #27279You cannot access this content.May 13, 2020 at 9:52 am #27283Hi,
Thank you, it should be all right now.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
May 13, 2020 at 11:51 am #27287Perfect, thanks a lot! Really like your plugin!
Does the bug-fix will be permanently / does it work after the next update?May 13, 2020 at 12:26 pm #27288You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
May 13, 2020 at 12:32 pm #27289You cannot access this content.May 13, 2020 at 1:42 pm #27295Thank you for noting, that was actually another bug we didn’t know about until now. It should be fine now 🙂
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
May 13, 2020 at 2:11 pm #27296Great, thanks a lot!
- AuthorPosts
You must be logged in to reply to this topic.