• Resolved jdyach

    (@jdyach)


    Is there a way to use the AIOSEO meta description as the excerpt in the search results? I saw this in the documentation for Yoast, with a snippet to use the SEO title in the results… so looking for something similar, but for All-In-One SEO and “description” instead of “title”

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

    (@msaari)

    Sure, but it has nothing to do with Relevanssi.

    Your theme decides what is displayed in the search results template. You can modify your theme so that it displays the AIOSEO meta description instead of the Relevanssi excerpt.

    AIOSEO keeps the meta description in a custom field _aioseop_description so all you need to do in the search results template is to display that:

    echo get_post_meta( $post->ID, '_aioseop_description', true );
    Thread Starter jdyach

    (@jdyach)

    Got it – thanks so much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘search result excerpt/snippet – use AIOSEO description?’ is closed to new replies.