Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1312555

    Hi,
    i’m using the Search Content Element on my site and have the layout set to show meta data for search results in an overlay. Everything works great except that since Woo products don’t have an excerpt, it just shows the date in the meta area under each product search result. Is there a hook I can add that would allow me to display another product field there instead of the date? See the link in in the private content.

    Thanks in advance!

    #1313223

    Hey waxingmedia,

    Thank you for the inquiry.

    You can use the “avf_ajax_search_no_excerpt” filter to replace the date with other data or with a new content. The date only shows when a post does not have an excerpt.

    Best regards,
    Ismael

    #1313300

    Thanks, Ismael! Appreciate it!

    Also, for other users, here’s a link to a similar post – https://kriesi.at/support/topic/ajax-search-box-displaying-the-date/

    • This reply was modified 3 years, 3 months ago by waxingmedia. Reason: added link to other post
    #1313559

    Hi,

    No problem. Thank you for sharing the link. Please feel free to open another thread if you need anything else.

    Have a nice day.

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Avia Layout Builder Search Content Element’ is closed to new replies.