Support Forums

The forums are closed and will be removed when we launch our new site.

Looking for support? You can access the support system via your account.

Forums Forums Search & Filter Pro Accessing to Heading value

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Anthony THIBAULT
    #259123

    Hi,
    is there a way to access to the Heading Value of a field ?
    [‘fields_assoc’][TAX][‘Heading] ?
    Thanks ! 🙂

    Trevor Moderator
    #259154

    What do you need to do with it? That may help me find a method for you.

    Anthony THIBAULT
    #259160

    I have integrated a list of active filters and I would like to introduce them with the same title as in the search list.
    In other words, for a filter on the taxonomy “places”, “whose label “singular_name” must remain “Place”, I have created a field whose heading is “Place of birth”.
    When the user chooses, for example, “Paris” as “Place of birth”, I add at the top of the results list “Place of birth: Paris”.
    I have seen solutions using get_fields_html or get_array, but both methods use the singular_name of the taxonomy and not the heading of the field.
    I hope I’m clear 🙂

    Trevor Moderator
    #259225

    I do see, and I do not think you could fetch it, but, in any case, the label ‘Place of Birth: ‘ would be a text string coded by you, so it would be as you need.

    Did you understand how to add the ‘breadcrumbs’ of the search as a title. This thread from earlier today (I think) was asking the same question, so the answer should be much the same, as in, with the code examples you are fetching only the ‘Paris’ term, and your code must print the label manually):

    https://support.searchandfilter.com/forums/topic/search-breadcrumbs/#post-259201

    I hope that I understood your need.

    Please note that we are now closed for the weekend and any replies may be delayed until we open at 10AM (UK time) on Monday (I will try to reply before then).

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

The forum ‘Search & Filter Pro’ is closed to new topics and replies.