• Hi there,

    Is it possible to use the plugin option “custom excerpts/snippets” in order to highlight searchterms, etc. – but at the same time to get to the unaltered excerpts somehow? displaying the modified relevanssi excerpts is workin fine by using “the_excerpt();” – but I need to be able to additionally display the unaltered version (no highlights, full text) of the original excerpt just below the relevanssi excerpt in the search results.

    thanks!
    Nico

    http://ww.wp.xz.cn/plugins/relevanssi/

Viewing 1 replies (of 1 total)
  • Plugin Author Mikko Saari

    (@msaari)

    Unfortunately not, Relevanssi overwrites the default excerpt (in order for the_excerpt()) to work. However, if you use the default excerpts, rebuilding something similar using substr($post->post_content) should be easy.

Viewing 1 replies (of 1 total)

The topic ‘Display unaltered excerpt while using custom excerpts/snippets’ is closed to new replies.