Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Author not shown everytime
- This topic has 8 replies, 2 voices, and was last updated 6 years ago by
clmsvie10.
-
AuthorPosts
-
May 12, 2020 at 2:50 pm #27264
clmsvie10
ParticipantHi,
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 #27272Ernest Marcinko
KeymasterHi,
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:
(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 workMay 12, 2020 at 8:35 pm #27279clmsvie10
ParticipantYou cannot access this content.
May 13, 2020 at 9:52 am #27283Ernest Marcinko
KeymasterHi,
Thank you, it should be all right now.
May 13, 2020 at 11:51 am #27287clmsvie10
ParticipantPerfect, 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 #27288Ernest Marcinko
KeymasterYou cannot access this content.
May 13, 2020 at 12:32 pm #27289clmsvie10
ParticipantYou cannot access this content.
May 13, 2020 at 1:42 pm #27295Ernest Marcinko
KeymasterThank you for noting, that was actually another bug we didn’t know about until now. It should be fine now 🙂
May 13, 2020 at 2:11 pm #27296clmsvie10
ParticipantGreat, thanks a lot!
-
AuthorPosts
- You must be logged in to reply to this topic.