Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › advanced fields: custom taxonomy
- This topic has 5 replies, 2 voices, and was last updated 7 years, 6 months ago by
Ernest Marcinko.
-
AuthorPosts
-
November 12, 2018 at 1:18 pm #19894
axelibarroule
ParticipantHello 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 7 years, 6 months ago by
axelibarroule.
-
This topic was modified 7 years, 6 months ago by
axelibarroule.
November 12, 2018 at 3:05 pm #19904Ernest Marcinko
KeymasterHi!
Sure, all you need to do is prefix the field with __tax_ or _taxonomy_, so it becomes:
[code]{_taxonomy_staff_team_qm}[/code]
You can pass more parameters to that code as well, you can read more about it here.
November 12, 2018 at 4:08 pm #19906axelibarroule
ParticipantHello 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 7 years, 6 months ago by
axelibarroule.
-
This reply was modified 7 years, 6 months ago by
axelibarroule.
-
This reply was modified 7 years, 6 months ago by
axelibarroule.
November 12, 2018 at 4:45 pm #19911Ernest Marcinko
KeymasterHi,
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.
November 12, 2018 at 5:10 pm #19912axelibarroule
ParticipantThank you very much Ernest! It works perfectly.
November 12, 2018 at 5:18 pm #19913Ernest Marcinko
KeymasterYou 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.
-
This topic was modified 7 years, 6 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.