This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Display label at filter result.

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Display label at filter result.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #20023
    webbkkwebbkk
    Participant

    Hi,

    Please see attached file.
    I have custom field for airline and want to label display at result.
    Please advise how I can’t do it.
    PS. I try change return value type with ACF to array but the result display “Array”.

    Thank you.

    #20025
    webbkkwebbkk
    Participant

    Dear Support Team,

    I have more problem with custom taxonomy when display at result. It ‘s display with ID.
    I want to show label. How can I do it?

    PS. First setting return value with “Term ID” and I try change return value to “Term Object” but the result non display.

    Thank you.

    #20038
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    I think you want to set the return value to ‘Label’ not the ‘Value’ on the ACF options, and then it will return the label correctly: https://i.imgur.com/0ijg2Jx.png
    In the advanced content field, sinply use the {airline} variable, and that will work, it will list all airports, comma separated.

    Can you please be more specific about the taxonomy issue? Where exactly does that happen? I am not sure what are you reffering to. Thank you!

    #20072
    webbkkwebbkk
    Participant

    Hi,

    For airline it’s done.
    And I problem with display custom taxonomy.

    1. Taxonomy name in ACF > Locations link
    2. Taxonomy data > link
    3. Display with search result > a

    I want to display with text.
    I try change setting from return value with Term ID to Term object but result it’s blank.
    Could you guide me for fix it?

    Thank you.

    #20073
    webbkkwebbkk
    Participant

    Dear Support Team,

    Can I add PHP or shortcode in content for display sear result?

    Thank you.

    #20076
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    I think there might be a different solution to that. Have you tried the taxonomy advanced fields yet? If you have for example a taxonomy ‘location’, then you can use this in the advanced fields like so:
    [code]{_taxonomy_location}[/code]
    ..and it will display the terms from that taxonomy in the results.

    You can use the results shortcode, within the template or post content to move the results to that location, on the same page.

    #20099
    webbkkwebbkk
    Participant

    Hi,

    It’s work. Thank you for support.

    Thank you.

    #20105
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Display label at filter result.’ is closed to new replies.