Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Hi @bresson,

    Do you know how search engine and plugin work? WordPress returns a list of posts, and you must manually get additional information for each of post on this list.

    Thread Starter bresson

    (@bresson)

    Hi @mateuszgbiorczyk

    Thanks for your quick reply. My apologies as I thought the plugin should just work. For instance, searching Posts yields the correct search results since I’m using the_excerpt().

    However, when ACF Better Search returns search results for an ACF created Page ( with repeaters, etc ) what is available in the search results that I can use to get the content? Currently I’m getting on the title but the title definitely points to the proper content. Thank you.

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @bresson, Can I help you somehow?

    Thread Starter bresson

    (@bresson)

    Thanks @mateuszgbiorczyk

    OK thanks. I think I see … I can use get_fields_object() for each search result and pull content from the Pages. Is this the right path? Thanks again.

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    If you are in the WP_Query loop then you can use the get_field function. Check it please.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Search returns title only’ is closed to new replies.