• Hi. How to display an excerpt from a search match on the result page when using only custom fields (carbonfields) ? I would like to display how, for example, highlight works (on the right and on the left, 20-30 words each, conditionally)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author wpdreams

    (@wpdreams)

    Hi,

    I’m afraid that can’t be done via a plugin – the excerpt is usually requested and printed on the results page via the theme. The easiest option would be to create a child theme to custom code that, but I’m not sure if that is the only way.

    All the best,
    Ernest

    Thread Starter rstrah

    (@rstrah)

    @wpdreams , Can I somehow do this using custom code?

    Plugin Author wpdreams

    (@wpdreams)

    I guess probably. But I don’t exactly know how to do that unfortunately. I usually recommend custom code snippets where I can, but in this case it’s likely much more complicated.

    All the best,
    Ernest

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.