Can we show content from specific acf field as search result excerpt?

Tagged:
  • prakashreddy.imduri
    Participant
    9 months, 1 week ago #30682

    Hi, Can we show content from specific ACF field as description/excerpt? Currently its fetching the data from Short description of product.
    Image Microsoft-Teams-image-2.png of Can we show content from specific acf field as search result excerpt?

    wpsolr
    Keymaster
    9 months, 1 week ago #30683

    The search results are displayed by your theme: you can modify its search loop to show what you need.

    prakashreddy.imduri
    Participant
    9 months, 1 week ago #30689

    We are using the shortcode [solr_search_shortcode] for these results in a page, still is the content managed by theme search loop ?

    wpsolr
    Keymaster
    9 months, 1 week ago #30690

    The shortcode is deprecated, you must switch to your theme to display results (in screen 2.1).

    prakashreddy.imduri
    Participant
    9 months, 1 week ago #30693

    I checked my pages, seems the same shortcode is still being used by this auto generated page
    Image image.png of

    wpsolr
    Keymaster
    9 months, 1 week ago #30694

    Yes, the shortcode and its autogenerated page are deprecated.

    Select 2.2. option “Search template” with “Use my own current theme search template”: your theme will display WPSOLR results as usual on standard WP archive pages. You can then add the WPSOLR facets widget on your archive pages with the WP customizer.

    prakashreddy.imduri
    Participant
    9 months, 1 week ago #30695

    Okay… got it

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

You must be logged in to reply to this topic.