advanced fields: custom taxonomy

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 Ernest Marcinko 5 years, 5 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #19894
    axelibarroule
    axelibarroule
    Participant

    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 5 years, 5 months ago by axelibarroule axelibarroule.
    • This topic was modified 5 years, 5 months ago by axelibarroule axelibarroule.
    #19904
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    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 :)


    #19906
    axelibarroule
    axelibarroule
    Participant

    Hello 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 5 years, 5 months ago by axelibarroule axelibarroule.
    • This reply was modified 5 years, 5 months ago by axelibarroule axelibarroule.
    • This reply was modified 5 years, 5 months ago by axelibarroule axelibarroule.
    Attachments:
    You must be logged in to view attached files.
    #19911
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    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 :)


    #19912
    axelibarroule
    axelibarroule
    Participant

    Thank you very much Ernest! It works perfectly.

    #19913
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    You 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 :)


Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.