Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › advanced fields: custom taxonomy
This topic contains 5 replies, has 2 voices, and was last updated by Ernest Marcinko 4 years, 4 months ago.
- AuthorPosts
- November 12, 2018 at 1:18 pm #19894
Hello there,
In the Advanced Options > Advanced fields> Avanced description dialog,
I managed to display on the search results, a custom field (Created with PODS) .[<p>t: {staff_phone_number}</p>]
What I don’t seem to manage is to Display a custom Taxonomy.
The taxonomy I would like to Display is called:
{staff_team_qm}
Thank you very much for you help.
-
This topic was modified 4 years, 4 months ago by
axelibarroule.
-
This topic was modified 4 years, 4 months ago by
axelibarroule.
November 12, 2018 at 3:05 pm #19904Hi!
Sure, all you need to do is prefix the field with __tax_ or _taxonomy_, so it becomes:
{_taxonomy_staff_team_qm}
You can pass more parameters to that code as well, you can read more about it here.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
November 12, 2018 at 4:08 pm #19906Hello Ernest,
Thanks for your answer.
I did that and also read the related documentation. Still not working.This is the code Im using
[<p>t:{staff_phone_number}</p>]
[<p>qm:{_taxonomy_staff_team_qm}</p>]
{descriptionfield}i know that Pro search finds the taxonomy, because ist here: see Image attached.
Any idea of what I can do?
Thanks a lot.
-
This reply was modified 4 years, 4 months ago by
axelibarroule.
-
This reply was modified 4 years, 4 months ago by
axelibarroule.
-
This reply was modified 4 years, 4 months ago by
axelibarroule.
Attachments:
You must be logged in to view attached files.November 12, 2018 at 4:45 pm #19911Hi,
Do you have the latest update installed (4.14.3)? This feature was not available in previous releases, not even in 4.14.2. If not, then make sure to update, and it should start working.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
November 12, 2018 at 5:10 pm #19912Thank you very much Ernest! It works perfectly.
November 12, 2018 at 5:18 pm #19913You are welcome 🙂
If you don’t mind, I will close this topic soon and mark it as resolved, feel free to open another one if you have other questions or issues.
If you like the plugin, feel free to rate it on your codecanyon downloads page, it’s greatly appreciated.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
-
This topic was modified 4 years, 4 months ago by
- AuthorPosts
You must be logged in to reply to this topic.